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 <shreyansh.jain at nxp.com>; > David Hunt <david.hunt at intel.com> > Subject: [PATCH v10 1/3] mempool: support external mempool operations > > 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() allows > the user to change the handler that will be used when populating > the mempool. > > This patch also adds a set of default ops (function callbacks) based > on rte_ring. > > Signed-off-by: Olivier Matz <olivier.matz at 6wind.com> > Signed-off-by: David Hunt <david.hunt at intel.com>
Acked-by: Shreyansh Jain <shreyansh.jain at nxp.com>