Hi Anupam, I'm afraid, I don't get your point. rte_eth_tx_burst returning a reduced buffer count means that TX queue is filled up, doesn't it? I don't see why "buffer M does not fit into TX queue" means "buffers 1..N already transmitted".
Thanks, Philipp Am 11.11.2016 um 13:35 schrieb Anupam Kapoor: > > On Fri, Nov 11, 2016 at 3:19 PM, Philipp Beyer <pbeyer at voipfuture.com > <mailto: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.
