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
Message-ID: <27e95295-bb0e-943f-0ab9-c93c4bea4cdd@filipjaniszewski.com> (raw)


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.


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:

* 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 \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git