Re: [dpdk-dev] [PATCH v7 2/3] lib/gro: add TCP/IPv4 GRO support

2017-06-30 Thread Hu, Jiayu
Hi Konstantin, > -Original Message- > From: Ananyev, Konstantin > Sent: Friday, June 30, 2017 8:07 PM > To: Hu, Jiayu > Cc: dev@dpdk.org; Tan, Jianfeng ; > step...@networkplumber.org; y...@fridaylinux.org; Wu, Jingjing > ; Yao, Lei A ; Wiles, Keith > ; Bie, Tiwei > Subject: RE: [PATCH v7

Re: [dpdk-dev] [PATCH v7 2/3] lib/gro: add TCP/IPv4 GRO support

2017-06-30 Thread Ananyev, Konstantin
Hi Jiayu, > > > + > > > +int32_t > > > +gro_tcp4_reassemble(struct rte_mbuf *pkt, > > > + struct gro_tcp_tbl *tbl, > > > + uint32_t max_packet_size) > > > +{ > > > + struct ether_hdr *eth_hdr; > > > + struct ipv4_hdr *ipv4_hdr; > > > + struct tcp_hdr *tcp_hdr; > > > + uint16_t ipv4

Re: [dpdk-dev] [PATCH v7 2/3] lib/gro: add TCP/IPv4 GRO support

2017-06-28 Thread Jiayu Hu
Hi Konstantin, On Thu, Jun 29, 2017 at 07:56:10AM +0800, Ananyev, Konstantin wrote: > Hi Jiayu, > > > > > In this patch, we introduce five APIs to support TCP/IPv4 GRO. > > - gro_tcp_tbl_create: create a TCP reassembly table, which is used to > > merge packets. > > - gro_tcp_tbl_destroy: fre

Re: [dpdk-dev] [PATCH v7 2/3] lib/gro: add TCP/IPv4 GRO support

2017-06-28 Thread Ananyev, Konstantin
Hi Jiayu, > > In this patch, we introduce five APIs to support TCP/IPv4 GRO. > - gro_tcp_tbl_create: create a TCP reassembly table, which is used to > merge packets. > - gro_tcp_tbl_destroy: free memory space of a TCP reassembly table. > - gro_tcp_tbl_flush: flush all packets from a TCP reass

[dpdk-dev] [PATCH v7 2/3] lib/gro: add TCP/IPv4 GRO support

2017-06-25 Thread Jiayu Hu
In this patch, we introduce five APIs to support TCP/IPv4 GRO. - gro_tcp_tbl_create: create a TCP reassembly table, which is used to merge packets. - gro_tcp_tbl_destroy: free memory space of a TCP reassembly table. - gro_tcp_tbl_flush: flush all packets from a TCP reassembly table. - gro_tcp_t