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

2016-06-14 Thread Thomas Monjalon
2016-06-14 14:20, Hunt, David: > > Hi Thomas, > > On 14/6/2016 1:55 PM, Thomas Monjalon wrote: > > Hi David, > > > > 2016-06-14 10:46, David Hunt: > >> Until now, the objects stored in a mempool were internally stored in a > >> ring. This patch introduces the possibility to register external hand

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

2016-06-14 Thread Thomas Monjalon
Hi David, 2016-06-14 10:46, 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

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

2016-06-14 Thread Hunt, David
Hi Thomas, On 14/6/2016 1:55 PM, Thomas Monjalon wrote: > Hi David, > > 2016-06-14 10:46, 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 beh

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

2016-06-14 Thread Shreyansh Jain
Hi, > -Original Message- > From: David Hunt [mailto:david.hunt at intel.com] > Sent: Tuesday, June 14, 2016 3:16 PM > To: dev at dpdk.org > Cc: olivier.matz at 6wind.com; viktorin at rehivetech.com; > jerin.jacob at caviumnetworks.com; Shreyansh Jain ; > David Hunt > Subject: [PATCH v10 1

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

2016-06-14 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()