From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Boule Subject: Re: question about PKT_RX_IPV4_HDR_EXT Date: Mon, 06 Jan 2014 16:27:04 +0100 Message-ID: <52CACB48.7020100@6wind.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Cc: "dev-VfR2kkLFssw@public.gmane.org" To: "Wang, Shawn" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "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_IPV= 4_HDR_EXT? > The document said =93RX packet with extended IPv4 header.=94 > 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=20 case,set a dedicated flag into the RX descriptor where they store the packet. Then, to supply this hardware-detected packet characteristics to the=20 upper-level application, the RX functions of DPDK PollMode Drivers of the 1GbE and 10Gbe Ethernet=20 controllers set the PKT_RX_IPV4_HDR_EXT generic flag into the mbuf that contains the packet. Best regards, Ivan --=20 Ivan Boule 6WIND Development Engineer