Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-15 Thread Hu, Jiayu
> -Original Message- > From: Ananyev, Konstantin > Sent: Friday, September 15, 2017 4:17 PM > To: Hu, Jiayu ; Kavanagh, Mark B > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > > > > -Original Message- > > From: Ananyev, Konst

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-15 Thread Ananyev, Konstantin
> -Original Message- > From: Ananyev, Konstantin > Sent: Friday, September 15, 2017 9:16 AM > To: Hu, Jiayu ; Kavanagh, Mark B > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > Hi Jiayu, > > > -Original Message- > > From: Hu,

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-15 Thread Ananyev, Konstantin
Hi Jiayu, > -Original Message- > From: Hu, Jiayu > Sent: Friday, September 15, 2017 8:55 AM > To: Ananyev, Konstantin ; Kavanagh, Mark B > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > Hi Konstantin, > > > -Original Message-

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-15 Thread Hu, Jiayu
Hi Konstantin, > -Original Message- > From: Ananyev, Konstantin > Sent: Friday, September 15, 2017 2:39 AM > To: Kavanagh, Mark B ; Hu, Jiayu > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > > > > -Original Message- > > From:

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Ananyev, Konstantin
> -Original Message- > From: Kavanagh, Mark B > Sent: Thursday, September 14, 2017 4:42 PM > To: Hu, Jiayu ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > >From: Hu, Jiayu > >Sent: Thursday, September 14, 2017 1

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Kavanagh, Mark B
>From: Hu, Jiayu >Sent: Thursday, September 14, 2017 11:01 AM >To: Ananyev, Konstantin ; Kavanagh, Mark B > >Cc: dev@dpdk.org; Tan, Jianfeng >Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > >Hi Konstantin and Mark, > >> -Original Message- >> From: Ananyev, Konstantin >> Sent: T

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Hu, Jiayu
Hi Konstantin and Mark, > -Original Message- > From: Ananyev, Konstantin > Sent: Thursday, September 14, 2017 5:36 PM > To: Hu, Jiayu > Cc: dev@dpdk.org; Kavanagh, Mark B ; Tan, > Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > > > > -Original Message-

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Hu, Jiayu
Hi Mark, > -Original Message- > From: Kavanagh, Mark B > Sent: Thursday, September 14, 2017 4:52 PM > To: Hu, Jiayu ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > >From: Hu, Jiayu > >Sent: Thursday, September 14,

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Kavanagh, Mark B
>From: Ananyev, Konstantin >Sent: Thursday, September 14, 2017 10:11 AM >To: Kavanagh, Mark B ; Hu, Jiayu > >Cc: dev@dpdk.org; Tan, Jianfeng >Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > > >> -Original Message- >> From: Kavanagh, Mark B >> Sent: Thursday, September 14, 201

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Ananyev, Konstantin
> -Original Message- > From: Hu, Jiayu > Sent: Thursday, September 14, 2017 10:29 AM > To: Ananyev, Konstantin > Cc: dev@dpdk.org; Kavanagh, Mark B ; Tan, Jianfeng > > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > Hi Konstantin, > > > -Original Message- > > Fr

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Hu, Jiayu
Hi Konstantin, > -Original Message- > From: Ananyev, Konstantin > Sent: Thursday, September 14, 2017 4:47 PM > To: Hu, Jiayu > Cc: dev@dpdk.org; Kavanagh, Mark B ; Tan, > Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > Hi Jiayu, > > > -Original Message-

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Ananyev, Konstantin
> -Original Message- > From: Kavanagh, Mark B > Sent: Thursday, September 14, 2017 10:01 AM > To: Ananyev, Konstantin ; Hu, Jiayu > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > >From: Ananyev, Konstantin > >Sent: Thursday, September

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Kavanagh, Mark B
>From: Ananyev, Konstantin >Sent: Thursday, September 14, 2017 9:40 AM >To: Kavanagh, Mark B ; Hu, Jiayu > >Cc: dev@dpdk.org; Tan, Jianfeng >Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > > >> -Original Message- >> From: Kavanagh, Mark B >> Sent: Thursday, September 14, 2017

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Kavanagh, Mark B
>From: Hu, Jiayu >Sent: Thursday, September 14, 2017 7:07 AM >To: Ananyev, Konstantin >Cc: dev@dpdk.org; Kavanagh, Mark B ; Tan, Jianfeng > >Subject: Re: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > >Hi Konstantin, > >On Thu, Sep 14, 2017 at 06:10:37AM +0800, Ananyev, Konstantin wrote: >> >> Hi

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Ananyev, Konstantin
Hi Jiayu, > -Original Message- > From: Hu, Jiayu > Sent: Thursday, September 14, 2017 7:07 AM > To: Ananyev, Konstantin > Cc: dev@dpdk.org; Kavanagh, Mark B ; Tan, Jianfeng > > Subject: Re: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > Hi Konstantin, > > On Thu, Sep 14, 2017 at 06:

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Ananyev, Konstantin
> -Original Message- > From: Kavanagh, Mark B > Sent: Thursday, September 14, 2017 9:35 AM > To: Hu, Jiayu ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > >From: Hu, Jiayu > >Sent: Thursday, September 14, 2017 2

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Kavanagh, Mark B
>From: Hu, Jiayu >Sent: Thursday, September 14, 2017 2:00 AM >To: Ananyev, Konstantin ; Kavanagh, Mark B > >Cc: dev@dpdk.org; Tan, Jianfeng >Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > >Hi Konstantin, > >> -Original Message- >> From: Ananyev, Konstantin >> Sent: Wednesday,

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-13 Thread Jiayu Hu
Hi Konstantin, On Thu, Sep 14, 2017 at 06:10:37AM +0800, Ananyev, Konstantin wrote: > > Hi Jiayu, > > > > > > > > > > > -Original Message- > > > > From: Ananyev, Konstantin > > > > Sent: Tuesday, September 12, 2017 12:18 PM > > > > To: Hu, Jiayu ; dev@dpdk.org > > > > Cc: Kavanagh, Mark

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-13 Thread Hu, Jiayu
Hi Konstantin, > -Original Message- > From: Ananyev, Konstantin > Sent: Wednesday, September 13, 2017 11:13 PM > To: Kavanagh, Mark B ; Hu, Jiayu > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > Hi Mark, > > > -Original Message

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-13 Thread Ananyev, Konstantin
Hi Jiayu, > > > > > > > -Original Message- > > > From: Ananyev, Konstantin > > > Sent: Tuesday, September 12, 2017 12:18 PM > > > To: Hu, Jiayu ; dev@dpdk.org > > > Cc: Kavanagh, Mark B ; Tan, Jianfeng > > > > > > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > > > > > > r

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-13 Thread Ananyev, Konstantin
Hi Mark, > -Original Message- > From: Kavanagh, Mark B > Sent: Wednesday, September 13, 2017 3:52 PM > To: Ananyev, Konstantin ; Hu, Jiayu > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > >From: Ananyev, Konstantin > >Sent: Wednesday,

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-13 Thread Kavanagh, Mark B
>From: Ananyev, Konstantin >Sent: Wednesday, September 13, 2017 10:38 AM >To: Hu, Jiayu >Cc: dev@dpdk.org; Kavanagh, Mark B ; Tan, Jianfeng > >Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > > >> > > + >> > > +int >> > > +gso_tcp4_segment(struct rte_mbuf *pkt, >> > > +

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-13 Thread Jiayu Hu
Hi Konstantin, On Tue, Sep 12, 2017 at 10:17:27PM +0800, Ananyev, Konstantin wrote: > > > > -Original Message- > > From: Ananyev, Konstantin > > Sent: Tuesday, September 12, 2017 12:18 PM > > To: Hu, Jiayu ; dev@dpdk.org > > Cc: Kavanagh, Mark B ; Tan, Jianfeng > > > > Subject: RE: [PA

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-13 Thread Hu, Jiayu
Hi Konstantin, > -Original Message- > From: Ananyev, Konstantin > Sent: Wednesday, September 13, 2017 5:38 PM > To: Hu, Jiayu > Cc: dev@dpdk.org; Kavanagh, Mark B ; Tan, > Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > > > > > > + > > > > +int > > > > +gso_tc

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-13 Thread Ananyev, Konstantin
> > > + > > > +int > > > +gso_tcp4_segment(struct rte_mbuf *pkt, > > > + uint16_t gso_size, > > > + uint8_t ipid_delta, > > > + struct rte_mempool *direct_pool, > > > + struct rte_mempool *indirect_pool, > > > + struct rte_mbuf **pkts_out, > > > + u

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-12 Thread Jiayu Hu
Hi Konstantin, On Tue, Sep 12, 2017 at 07:17:49PM +0800, Ananyev, Konstantin wrote: > Hi Jayu, > > > -Original Message- > > From: Hu, Jiayu > > Sent: Tuesday, September 12, 2017 3:43 AM > > To: dev@dpdk.org > > Cc: Ananyev, Konstantin ; Kavanagh, Mark B > > ; Tan, Jianfeng > > ; Hu, Jiay

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-12 Thread Ananyev, Konstantin
> -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, September 12, 2017 12:18 PM > To: Hu, Jiayu ; dev@dpdk.org > Cc: Kavanagh, Mark B ; Tan, Jianfeng > > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > Hi Jayu, > > > -Original Message- > > From: Hu,

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-12 Thread Ananyev, Konstantin
Hi Jayu, > -Original Message- > From: Hu, Jiayu > Sent: Tuesday, September 12, 2017 3:43 AM > To: dev@dpdk.org > Cc: Ananyev, Konstantin ; Kavanagh, Mark B > ; Tan, Jianfeng > ; Hu, Jiayu > Subject: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > This patch adds GSO support for TCP/IPv

[dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-11 Thread Jiayu Hu
This patch adds GSO support for TCP/IPv4 packets. Supported packets may include a single VLAN tag. TCP/IPv4 GSO assumes that all input packets have correct checksums, and doesn't update checksums for output packets (the responsibility for this lies with the application). Additionally, TCP/IPv4 GSO