[dpdk-dev] [PATCH 1/4] rte_mbuf:add packet types

2014-11-21 Thread Olivier MATZ
Hello Jijiang, On 11/21/2014 01:26 PM, Liu, Jijiang wrote: >> I have one question about the packet_type: it is not clear to me what the >> software can expect, for instance when RTE_PTYPE_IPv4_IPv4 is set. What does >> that mean exactly? Which fields must be valid in the packet to have this >> ty

[dpdk-dev] [PATCH 1/4] rte_mbuf:add packet types

2014-11-21 Thread Liu, Jijiang
Hi Olivier, > -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Wednesday, November 19, 2014 6:39 PM > To: Liu, Jijiang; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/4] rte_mbuf:add packet types > > Hi Jijiang, > > On 1

[dpdk-dev] [PATCH 1/4] rte_mbuf:add packet types

2014-11-19 Thread Olivier MATZ
Hi Jijiang, On 11/18/2014 08:37 AM, Jijiang Liu wrote: > This patch abstracts packet types of L2 packet, Non Tunneled IPv4/6, IP in > IP, IP in GRE, MAC in GRE and MAC in UDP, and add 4 MACROS to check packet IP > header. > > Signed-off-by: Jijiang Liu > --- > lib/librte_mbuf/rte_mbuf.h | 22

[dpdk-dev] [PATCH 1/4] rte_mbuf:add packet types

2014-11-18 Thread Jijiang Liu
This patch abstracts packet types of L2 packet, Non Tunneled IPv4/6, IP in IP, IP in GRE, MAC in GRE and MAC in UDP, and add 4 MACROS to check packet IP header. Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.h | 223 1 files changed, 223 i