From: Pavel Vazharov <freakpv@gmail.com>
To: users <users@dpdk.org>
Subject: [dpdk-users] Queue same packet to multiple rte_rings
Date: Mon, 26 Oct 2020 17:52:12 +0200 [thread overview]
Message-ID: <CAK9EM1-_3+w6S5s73LYNeQstn1aCmvaMu8dZz25KQq4qNEJrKQ@mail.gmail.com> (raw)
Hi there,
I'm wondering if I want to queue the same rte_mbuf to multiple rte_rings do
I need to copy the packet (rte_pktmbuf_copy) or just bumping up the
reference count (rte_pktmbuf_refcnt_update) before the queueing is enough?
The rings are consumed by separate processes. Will the ref count
work correctly across the processes and only the last process free the
given rte_mbuf?
Thanks,
Pavel.
reply other threads:[~2020-10-26 15:52 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=CAK9EM1-_3+w6S5s73LYNeQstn1aCmvaMu8dZz25KQq4qNEJrKQ@mail.gmail.com \
--to=freakpv@gmail.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).