DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] question about PKT_RX_IPV4_HDR_EXT
@ 2013-12-26 21:46 Wang, Shawn
  2014-01-06 15:27 ` Ivan Boule
  0 siblings, 1 reply; 2+ messages in thread
From: Wang, Shawn @ 2013-12-26 21:46 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] question about PKT_RX_IPV4_HDR_EXT
  2013-12-26 21:46 [dpdk-dev] question about PKT_RX_IPV4_HDR_EXT Wang, Shawn
@ 2014-01-06 15:27 ` Ivan Boule
  0 siblings, 0 replies; 2+ messages in thread
From: Ivan Boule @ 2014-01-06 15:27 UTC (permalink / raw)
  To: Wang, Shawn; +Cc: dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-06 15:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-26 21:46 [dpdk-dev] question about PKT_RX_IPV4_HDR_EXT Wang, Shawn
2014-01-06 15:27 ` Ivan Boule

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).