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

Bruce Richardson bruce.richardson at intel.com
Thu Feb 10 12:36:47 CET 2022


On Thu, Feb 10, 2022 at 04:07:02PM +0530, Ansar Kannankattil wrote:
>    Thanks for the responses,
>    Then what is the advantage of chaining mbuffs over using the mbuff
>    array?
> 
They imply different things.
* An array of mbufs represents multiple packets.
* A chain of mbufs is a single packet.

Therefore, an array of three mbuf pointers always represents 3 packets.
Each one of the mbufs pointed to from that array may have multiple segments
i.e. chained via the next pointers, but that chain is still a single
packet.


More information about the dev mailing list