All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ivan Boule <ivan.boule-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: "Wang, Shawn" <xingbow-vV1OtcyAfmbQT0dZR+AlfA@public.gmane.org>
Cc: "dev-VfR2kkLFssw@public.gmane.org" <dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: question about PKT_RX_IPV4_HDR_EXT
Date: Mon, 06 Jan 2014 16:27:04 +0100	[thread overview]
Message-ID: <52CACB48.7020100@6wind.com> (raw)
In-Reply-To: <CEE1E3CB.41AA0%xingbow-vV1OtcyAfmbQT0dZR+AlfA@public.gmane.org>

On 12/26/2013 10:46 PM, Wang, Shawn wrote:
> Hi:
>
> Can anyone explain more details about the rte_mbuf ol_flag : PKT_RX_IPV4_HDR_EXT?
> The document said “RX packet with extended IPv4 header.”
> But what is the extended IPv4 header looks like? What is the difference with normal IPv4 header?
> Can anyone give me an example?
>
> Thanks a lot.
> Wang, Shawn
Hi,

A extended IPv4 header is a IPv4 header with additional options, whose
total header size is greater than 20 bytes. Intel 1GbE and 10Gbe
Ethernet controllers are able to recognize such packets, and, in this 
case,set a
dedicated flag into the RX descriptor where they store the packet.
Then, to supply this hardware-detected packet characteristics to the 
upper-level application,
the RX functions of DPDK PollMode Drivers of the 1GbE and 10Gbe Ethernet 
controllers set the
PKT_RX_IPV4_HDR_EXT generic flag into the mbuf that contains the packet.

Best regards,
Ivan

-- 
Ivan Boule
6WIND Development Engineer

      parent reply	other threads:[~2014-01-06 15:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-26 21:46 question about PKT_RX_IPV4_HDR_EXT Wang, Shawn
     [not found] ` <CEE1E3CB.41AA0%xingbow-vV1OtcyAfmbQT0dZR+AlfA@public.gmane.org>
2014-01-06 15:27   ` Ivan Boule [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=52CACB48.7020100@6wind.com \
    --to=ivan.boule-pdr9zngts4eavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=xingbow-vV1OtcyAfmbQT0dZR+AlfA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.