[dpdk-dev] mbuf: why rte_pktmbuf_pool_create doesn't have the flags parameter ?

Sylvain R srn at nexatech.fr
Thu Mar 19 11:09:28 CET 2020


Hi !

It is my understanding that when we want a mempool to give to the queue
setup functions, we should use rte_pktmbuf_pool_create() instead of
rte_mempool_create().
However, the former does not allow to create single producer / single
consumer mempools, as it doesn't have the 'flags' parameter
rte_mempool_create has.

>From my (limited) understanding, setting SC/SP allows to skip some locks
and therefore can be really beneficial for the overall perf.
Is there a reason for not having this option with rte_pktmbuf_pool_create ?

Best Regards,

Sylvain


More information about the dev mailing list