Re: [PATCH 4/7] MIPS: Octeon: Add Free Pointer Unit (FPA) support.
From: Florian Fainelli
Date: Wed Nov 01 2017 - 23:29:29 EST
Le 11/01/17 Ã 17:36, David Daney a ÃcritÂ:
> From: Carlos Munoz <cmunoz@xxxxxxxxxx>
>
> From the hardware user manual: "The FPA is a unit that maintains
> pools of pointers to free L2/DRAM memory. To provide QoS, the pools
> are referenced indirectly through 1024 auras. Both core software
> and hardware units allocate and free pointers."
This looks like a possibly similar implement to what
drivers/net/ethernet/marvell/mvneta_bm.c, can you see if you can make
any use of genpool_* and include/net/hwbm.h here as well?
--
Florian