DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Queue same packet to multiple rte_rings
@ 2020-10-26 15:52 Pavel Vazharov
  0 siblings, 0 replies; only message in thread
From: Pavel Vazharov @ 2020-10-26 15:52 UTC (permalink / raw)
  To: users

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?


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

only message in thread, other threads:[~2020-10-26 15:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-26 15:52 [dpdk-users] Queue same packet to multiple rte_rings Pavel Vazharov

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