[dpdk-users] Beginners question: rte_eth_tx_burst, rte_mbuf access synchronization
Anupam Kapoor
anupam.kapoor at gmail.com
Fri Nov 11 13:35:11 CET 2016
On Fri, Nov 11, 2016 at 3:19 PM, Philipp Beyer <pbeyer at voipfuture.com>
wrote:
> Basically, I need to send the same packet over a single interface, over an
> over again, with single bytes changed each time.
> I use rte_eth_tx_burst to send 16 packets at once. As I want to re-use the
> same buffers in a very simple way, I just increment the refcnt
> accordingly.
>
just throwing it out there: have you considered a trivial scheme of
repeatedly invoking 'rte_eth_tx_burst(...)' till a value less than
'nb_pkts' is returned. once you reach that state, then the reuse can
happen...
--
kind regards
anupam
In the beginning was the lambda, and the lambda was with Emacs, and Emacs
was the lambda.
More information about the users
mailing list