From: Bruce Richardson <bruce.richardson@intel.com>
To: Ansar Kannankattil <ansarkannankat@gmail.com>
Cc: Ferruh Yigit <ferruh.yigit@intel.com>,
Stephen Hemminger <stephen@networkplumber.org>,
dev@dpdk.org
Subject: Re: Can I use rte_pktmbuf_chain to chain multiple mbuffs for calling only single tx_eth_burst API
Date: Thu, 10 Feb 2022 11:36:47 +0000 [thread overview]
Message-ID: <YgT4z+7E+NtZ5ukt@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <CAPA_rBcKPFkBomMRr0-dPuTEZi32Dp_rA-QaqN_KwUxsWErTJA@mail.gmail.com>
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.
prev parent reply other threads:[~2022-02-10 11:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-09 18:03 Ansar Kannankattil
2022-02-09 20:56 ` Stephen Hemminger
2022-02-09 22:18 ` Ferruh Yigit
2022-02-09 22:46 ` Stephen Hemminger
2022-02-10 8:56 ` Ferruh Yigit
2022-02-10 10:37 ` Ansar Kannankattil
2022-02-10 10:43 ` Ferruh Yigit
2022-02-10 11:36 ` Bruce Richardson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YgT4z+7E+NtZ5ukt@bricha3-MOBL.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=ansarkannankat@gmail.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).