[dpdk-dev] Walk through a given mbuf-pool elements

Vithal S Mohare vmohare at arubanetworks.com
Mon Dec 15 06:07:37 CET 2014


[Re-sending the mail after registering to dpdk.org]
Team,

I am looking for a code/api to walk through a dpdk mbuf-pool elements (similar to rte_mempool_walk() but for elements within mempool).   Calling pkt_mbuf_alloc for 'n' elements and then _free is not an option.  Rte_mempool_obj_itr() walks through, but does lot more than walking itself.   Please suggest if anybody has better alternatives.

Thanks,
-Vithal


More information about the dev mailing list