[dpdk-dev] [PATCH v9 1/3] mempool: support external mempool operations

2016-06-13 Thread Hunt, David
Hi Olivier, On 13/6/2016 1:16 PM, Olivier Matz wrote: > Hi David, > > Some comments below. > > On 06/10/2016 05:16 PM, David Hunt wrote: >> Until now, the objects stored in a mempool were internally stored in a >> ring. This patch introduces the possibility to register external handlers >> replaci

[dpdk-dev] [PATCH v9 1/3] mempool: support external mempool operations

2016-06-13 Thread Olivier Matz
Hi David, Some comments below. On 06/10/2016 05:16 PM, David Hunt wrote: > Until now, the objects stored in a mempool were internally stored in a > ring. This patch introduces the possibility to register external handlers > replacing the ring. > > The default behavior remains unchanged, but call

[dpdk-dev] [PATCH v9 1/3] mempool: support external mempool operations

2016-06-10 Thread David Hunt
Until now, the objects stored in a mempool were internally stored in a ring. This patch introduces the possibility to register external handlers replacing the ring. The default behavior remains unchanged, but calling the new function rte_mempool_set_handler() right after rte_mempool_create_empty()