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?

Thanks,
Pavel.

^ 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

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).