DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] mbuf: why rte_pktmbuf_pool_create doesn't have the flags parameter ?
@ 2020-03-19 10:09 Sylvain R
  0 siblings, 0 replies; only message in thread
From: Sylvain R @ 2020-03-19 10:09 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-19 10:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-19 10:09 [dpdk-dev] mbuf: why rte_pktmbuf_pool_create doesn't have the flags parameter ? Sylvain R

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).