DPDK patches and discussions
 help / color / mirror / Atom feed
From: Sylvain R <srn@nexatech.fr>
To: dev@dpdk.org
Subject: [dpdk-dev] mbuf: why rte_pktmbuf_pool_create doesn't have the flags parameter ?
Date: Thu, 19 Mar 2020 11:09:28 +0100	[thread overview]
Message-ID: <de9838c7-dbc9-e2af-3042-5862ad758074@nexatech.fr> (raw)

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

                 reply	other threads:[~2020-03-19 10:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=de9838c7-dbc9-e2af-3042-5862ad758074@nexatech.fr \
    --to=srn@nexatech.fr \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).