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.