[dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified packet types

2015-02-03 Thread Olivier MATZ
Hi Helin, On 02/03/2015 07:37 AM, Zhang, Helin wrote: >>> When your application decapsulates tunnels, you can just do outer = >>> inner and enter into the same code. >> Expanding packet_type is not easy, as there is no free bits in the first >> cache >> line. >> Is there any tunnel type in inner

[dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified packet types

2015-02-03 Thread Zhang, Helin
> -Original Message- > From: Zhang, Helin > Sent: Tuesday, February 3, 2015 11:19 AM > To: Olivier MATZ; dev at dpdk.org > Cc: Stephen Hemminger > Subject: RE: [dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified packet > types > > > > >

[dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified packet types

2015-02-03 Thread Zhang, Helin
> -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Monday, February 2, 2015 7:18 PM > To: Zhang, Helin; dev at dpdk.org > Cc: Stephen Hemminger > Subject: Re: [dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified packet > types &

[dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified packet types

2015-02-02 Thread Zhang, Helin
Hi Olivier > -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Friday, January 30, 2015 9:56 PM > To: Zhang, Helin; dev at dpdk.org > Cc: Stephen Hemminger > Subject: Re: [dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified pack

[dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified packet types

2015-01-30 Thread Olivier MATZ
Hi Helin, On 01/29/2015 04:15 AM, Helin Zhang wrote: > As there are only 6 bit flags in ol_flags for indicating packet types, > which is not enough to describe all the possible packet types hardware > can recognize. For example, i40e hardware can recognize more than 150 > packet types. Unified pac

[dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified packet types

2015-01-29 Thread Helin Zhang
As there are only 6 bit flags in ol_flags for indicating packet types, which is not enough to describe all the possible packet types hardware can recognize. For example, i40e hardware can recognize more than 150 packet types. Unified packet type is composed of tunnel type, L3 type, L4 type and inne