DPDK usage discussions
 help / color / mirror / Atom feed
From: Filip Janiszewski <contact@filipjaniszewski.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] pkt mempool with custom refcnt
Date: Wed, 20 Jan 2021 11:04:10 +0100	[thread overview]
Message-ID: <27e95295-bb0e-943f-0ab9-c93c4bea4cdd@filipjaniszewski.com> (raw)

Hi,

Is there a way to create/configure a mempool in such a way that while RX
bursting, the packets created from the pool have the refcnt greater than
the default value 1?

I can iterate over all the mbufs and update the refcnt valued manually
for each received burst before pushing the bufs for further processing,
but this is actually too slow and we start dropping on the NIC..

So I was wondering if this case be delegated to DPDK or perhaps the NIC
(While creating the pool maybe?), so that I get rte_eth_rx_burst mbufs
with refcnt > 1.

Thanks

-- 
BR, Filip
+48 666 369 823

                 reply	other threads:[~2021-01-20 10:04 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=27e95295-bb0e-943f-0ab9-c93c4bea4cdd@filipjaniszewski.com \
    --to=contact@filipjaniszewski.com \
    --cc=users@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).