DPDK usage discussions
 help / color / mirror / Atom feed
From: SAKTHIVEL ANAND S <anand.sa88@gmail.com>
To: Kumaraparameshwaran Rathnavel <krath@cloudsimple.com>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] Length of the Packet
Date: Tue, 20 Dec 2016 19:29:20 +0530	[thread overview]
Message-ID: <CAOP5GAz8HyK8nuztt1S5XjeL1=zDNWoU1VUFUOuh=J5D3Q-Rsw@mail.gmail.com> (raw)
In-Reply-To: <3258817B-A0DB-4A4F-95F4-90F38B9E8864@cloudsimple.com>

DPDK will store jumbo frames into multi mbufs.

Data len = packet_data_size in a single mbuf,
mean while, packet len = datalen1+datalen2+datalen3+...+datalenN

please check DPDK programmer documentation, about the chapter : mbuf library

On Tue, Dec 20, 2016 at 5:05 PM, Kumaraparameshwaran Rathnavel <
krath@cloudsimple.com> wrote:

> Hi All,
>
> I am sending a packet of length 2048 bytes. At the receiver side I see
> that I get 1928 Bytes of Data Length which is 128 Bytes lesser and 2048 as
> packet length. So i just want to know why is the difference between packet
> length and data length.
>
> Thanking You,
> Param.




-- 
Thanks
Sakthivel S OM

      reply	other threads:[~2016-12-20 13:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-20 11:35 Kumaraparameshwaran Rathnavel
2016-12-20 13:59 ` SAKTHIVEL ANAND S [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='CAOP5GAz8HyK8nuztt1S5XjeL1=zDNWoU1VUFUOuh=J5D3Q-Rsw@mail.gmail.com' \
    --to=anand.sa88@gmail.com \
    --cc=krath@cloudsimple.com \
    --cc=users@dpdk.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).