[dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type from data

2016-07-08 Thread Liang, Cunming
Hi Olivier, > -Original Message- > From: Olivier Matz [mailto:olivier.matz at 6wind.com] > Sent: Thursday, July 07, 2016 11:49 PM > To: Liang, Cunming ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type > from data > >

[dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type from data

2016-07-07 Thread Olivier Matz
dpdk.org >> Subject: Re: [dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type >> from data >> >> Hi Cunming, >> >> On 07/06/2016 08:44 AM, Liang, Cunming wrote: >>> Hi Olivier, >>> >>> On 7/5/2016 11:41 PM, Olivier Matz wrote

[dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type from data

2016-07-07 Thread Liang, Cunming
Hi Olivier, > -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Wednesday, July 06, 2016 3:43 PM > To: Liang, Cunming ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type > from data > > H

[dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type from data

2016-07-06 Thread Liang, Cunming
Hi Olivier, On 7/5/2016 11:41 PM, Olivier Matz wrote: > Introduce the function rte_pktmbuf_get_ptype() that parses a > mbuf and returns its packet type. For now, the following packet > types are parsed: > L2: Ether > L3: IPv4, IPv6 > L4: TCP, UDP, SCTP > > The goal here is to provide a

[dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type from data

2016-07-06 Thread Olivier MATZ
Subject: Re: [dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type >> from data >> >> Hi Cunming, >> >> On 07/06/2016 08:44 AM, Liang, Cunming wrote: >>> Hi Olivier, >>> >>> On 7/5/2016 11:41 PM, Olivier Matz wrote: >>>>

[dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type from data

2016-07-06 Thread Chilikin, Andrey
: Wednesday, July 6, 2016 8:43 AM > >> To: Liang, Cunming ; dev at dpdk.org > >> Subject: Re: [dpdk-dev] [PATCH 05/18] mbuf: add function to get > >> packet type from data > >> > >> Hi Cunming, > >> > >> On 07/06/2016 08:44 AM, Liang, Cunming

[dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type from data

2016-07-06 Thread Chilikin, Andrey
Hi Oliver, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier MATZ > Sent: Wednesday, July 6, 2016 8:43 AM > To: Liang, Cunming ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type > from da

[dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type from data

2016-07-06 Thread Olivier MATZ
Hi Cunming, On 07/06/2016 08:44 AM, Liang, Cunming wrote: > Hi Olivier, > > On 7/5/2016 11:41 PM, Olivier Matz wrote: >> Introduce the function rte_pktmbuf_get_ptype() that parses a >> mbuf and returns its packet type. For now, the following packet >> types are parsed: >> L2: Ether >> L3:

[dpdk-dev] [PATCH 05/18] mbuf: add function to get packet type from data

2016-07-05 Thread Olivier Matz
Introduce the function rte_pktmbuf_get_ptype() that parses a mbuf and returns its packet type. For now, the following packet types are parsed: L2: Ether L3: IPv4, IPv6 L4: TCP, UDP, SCTP The goal here is to provide a reference implementation for packet type parsing. This function will be