Re: [dpdk-dev] [PATCH v7 1/3] lib: add Generic Receive Offload API framework

2017-06-28 Thread Jiayu Hu
Hi Konstantin, On Thu, Jun 29, 2017 at 01:41:40AM +0800, Ananyev, Konstantin wrote: > > Hi Jiayu, > > > > > > > > > > + > > > > +/** > > > > + * GRO table, which is used to merge packets. It keeps many reassembly > > > > + * tables of desired GRO types. Applications need to create GRO tables >

Re: [dpdk-dev] [PATCH v7 1/3] lib: add Generic Receive Offload API framework

2017-06-28 Thread Ananyev, Konstantin
Hi Jiayu, > > > > > > + > > > +/** > > > + * GRO table, which is used to merge packets. It keeps many reassembly > > > + * tables of desired GRO types. Applications need to create GRO tables > > > + * before using rte_gro_reassemble to perform GRO. > > > + */ > > > +struct rte_gro_tbl { > > > +

Re: [dpdk-dev] [PATCH v7 1/3] lib: add Generic Receive Offload API framework

2017-06-27 Thread Jiayu Hu
Hi Konstantin, On Wed, Jun 28, 2017 at 07:42:01AM +0800, Ananyev, Konstantin wrote: > Hi Jiayu, > > > -Original Message- > > From: Hu, Jiayu > > Sent: Monday, June 26, 2017 7:44 AM > > To: dev@dpdk.org > > Cc: Tan, Jianfeng ; Ananyev, Konstantin > > ; step...@networkplumber.org; > > y...

Re: [dpdk-dev] [PATCH v7 1/3] lib: add Generic Receive Offload API framework

2017-06-27 Thread Ananyev, Konstantin
Hi Jiayu, > -Original Message- > From: Hu, Jiayu > Sent: Monday, June 26, 2017 7:44 AM > To: dev@dpdk.org > Cc: Tan, Jianfeng ; Ananyev, Konstantin > ; step...@networkplumber.org; > y...@fridaylinux.org; Wu, Jingjing ; Yao, Lei A > ; Wiles, Keith ; Bie, > Tiwei ; Hu, Jiayu > Subject: [P

[dpdk-dev] [PATCH v7 1/3] lib: add Generic Receive Offload API framework

2017-06-25 Thread Jiayu Hu
Generic Receive Offload (GRO) is a widely used SW-based offloading technique to reduce per-packet processing overhead. It gains performance by reassembling small packets into large ones. This patchset is to support GRO in DPDK. To support GRO, this patch implements a GRO API framework. To enable m