[dpdk-dev] [PATCH v2 08/13] testpmd: rework csum forward engine

2014-11-17 Thread Olivier MATZ
Hi Jijiang, On 11/17/2014 09:11 AM, Liu, Jijiang wrote: >> +/* Calculate the checksum of outer header (only vxlan is supported, >> + * meaning IP + UDP). The caller already checked that it's a vxlan >> + * packet */ >> +static uint64_t >> +process_outer_cksums(void *outer_l3_hdr, uint16_t outer_et

[dpdk-dev] [PATCH v2 08/13] testpmd: rework csum forward engine

2014-11-17 Thread Liu, Jijiang
> -Original Message- > From: Olivier Matz [mailto:olivier.matz at 6wind.com] > Sent: Saturday, November 15, 2014 1:03 AM > To: dev at dpdk.org > Cc: olivier.matz at 6wind.com; Walukiewicz, Miroslaw; Liu, Jijiang; Liu, Yong; > jigsaw at gmail.com; Richardson, Bruce > Subject: [PATCH v2 08/

[dpdk-dev] [PATCH v2 08/13] testpmd: rework csum forward engine

2014-11-14 Thread Olivier Matz
The csum forward engine was becoming too complex to be used and extended (the next commits want to add the support of TSO): - no explaination about what the code does - code is not factorized, lots of code duplicated, especially between ipv4/ipv6 - user command line api: use of bitmasks that nee