[dpdk-dev] [PATCH v2 4/5] mbuf: pktmbuf pool create helper for specific mempool ops
Hemant Agrawal
hemant.agrawal at nxp.com
Mon Jan 15 15:32:30 CET 2018
On 1/15/2018 6:01 PM, Jerin Jacob wrote:
>> Introduce a new helper for pktmbuf pool, which will allow
>> the application to optionally specify the mempool ops name
>> as well.
>>
>> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
>> ---
>> lib/librte_mbuf/rte_mbuf.c | 23 ++++++++++++++------
>> lib/librte_mbuf/rte_mbuf.h | 42 ++++++++++++++++++++++++++++++++++++
>> lib/librte_mbuf/rte_mbuf_version.map | 1 +
>> 3 files changed, 60 insertions(+), 6 deletions(-)
>>
<snip>...
>> +rte_pktmbuf_pool_create_specific(const char *name, unsigned int n,
>
> No strong opinion on name. I think, rte_pktmbuf_pool_create_by_op() may be
> a better name than rte_pktmbuf_pool_create_specific()
yes. looks better. I will change it in next rev.
More information about the dev
mailing list