[dpdk-dev] [PATCH 2/6] mempool: add stack (lifo) based external mempool handler
Olivier MATZ
olivier.matz at 6wind.com
Fri Feb 19 14:31:05 CET 2016
Hi David,
On 02/16/2016 03:48 PM, David Hunt wrote:
> adds a simple stack based mempool handler
>
> Signed-off-by: David Hunt <david.hunt at intel.com>
> ---
> lib/librte_mempool/Makefile | 2 +-
> lib/librte_mempool/rte_mempool.c | 4 +-
> lib/librte_mempool/rte_mempool.h | 1 +
> lib/librte_mempool/rte_mempool_stack.c | 164 +++++++++++++++++++++++++++++++++
> 4 files changed, 169 insertions(+), 2 deletions(-)
> create mode 100644 lib/librte_mempool/rte_mempool_stack.c
>
I don't get what is the purpose of this handler. Is it an example
or is it something that could be useful for dpdk applications?
If it's an example, we should find a way to put the code outside
the librte_mempool library, maybe in the test program. I see there
is also a "custom handler". Do we really need to have both?
Regards,
Olivier
More information about the dev
mailing list