[dpdk-dev] [PATCH 10/12] testpmd: rework csum forward engine

2014-11-11 Thread Olivier MATZ
Hi Jijiang, On 11/11/2014 09:35 AM, Liu, Jijiang wrote: > The PKT_TX_VXLAN_CKSUM was not set in the patch, and VXLAN TX checksum > offload would not work. Thank you for reporting this. Indeed, there is an issue. See below. >> +/* Calculate the checksum of outer header (only vxlan is

[dpdk-dev] [PATCH 10/12] testpmd: rework csum forward engine

2014-11-11 Thread Liu, Jijiang
Hi Olivier, The PKT_TX_VXLAN_CKSUM was not set in the patch, and VXLAN TX checksum offload would not work. Thanks Jijiang Liu > -Original Message- > From: Olivier Matz [mailto:olivier.matz at 6wind.com] > Sent: Monday, November 10, 2014 11:59 PM > To: dev at dpdk.org > Cc:

[dpdk-dev] [PATCH 10/12] testpmd: rework csum forward engine

2014-11-10 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