Can I use rte_pktmbuf_chain to chain multiple mbuffs for calling only single tx_eth_burst API

Stephen Hemminger stephen at networkplumber.org
Wed Feb 9 21:56:44 CET 2022


On Wed, 9 Feb 2022 23:33:13 +0530
Ansar Kannankattil <ansarkannankat at gmail.com> wrote:

> Hi
> My intention is to decrease the number of rte_tx_eth_burst calls, I know
> that mentioning nb_pkts will result in sending multiple packets in a single
> call.
> But providing nb_pkts=1 and posting a head mbuff having number of
> mbuffs linked with it will results sending multiple packets
> If not, what is the use case of linking multiple mbuffs together

It doesn't work that way.
tx_burst takes an array, not a chain.


More information about the dev mailing list