[dpdk-dev] [PATCH v3 4/4] testpmd:rework csum forward engine

2014-11-28 Thread Thomas Monjalon
2014-11-28 10:50, Olivier MATZ: > Hi Jijiang, > > On 11/27/2014 06:03 PM, Jijiang Liu wrote: > > @@ -303,7 +305,7 @@ process_outer_cksums(void *outer_l3_hdr, uint16_t > > outer_ethertype, > > * TESTPMD_TX_OFFLOAD_* in ports[tx_port].tx_ol_flags. They control > > * wether a checksum must be ca

[dpdk-dev] [PATCH v3 4/4] testpmd:rework csum forward engine

2014-11-28 Thread Olivier MATZ
Hi Jijiang, On 11/27/2014 06:03 PM, Jijiang Liu wrote: > @@ -303,7 +305,7 @@ process_outer_cksums(void *outer_l3_hdr, uint16_t > outer_ethertype, > * TESTPMD_TX_OFFLOAD_* in ports[tx_port].tx_ol_flags. They control > * wether a checksum must be calculated in software or in hardware. The > *

[dpdk-dev] [PATCH v3 4/4] testpmd:rework csum forward engine

2014-11-28 Thread Jijiang Liu
The changes include: 1. use the new introduced ol_flags and fields in csumonly.c file; 2. fix an issue of outer UDP checksum check; 3. change process logic in the process_inner_cksums(); Signed-off-by: Jijiang Liu --- app/test-pmd/csumonly.c | 65 ++