[dpdk-dev] [PATCH] testpmd: fix tso with csum engine

2016-10-13 Thread Thomas Monjalon
2016-10-13 15:40, Olivier Matz: > The commit that disabled tso for small packets was broken during the > rebase. The problem is the IP checksum is not calculated in software if: > - TX IP checksum is disabled > - TSO is enabled > - the current packet is smaller than tso segment size > > When check

[dpdk-dev] [PATCH] testpmd: fix tso with csum engine

2016-10-13 Thread Olivier Matz
The commit that disabled tso for small packets was broken during the rebase. The problem is the IP checksum is not calculated in software if: - TX IP checksum is disabled - TSO is enabled - the current packet is smaller than tso segment size When checking if the PKT_TX_IP_CKSUM flag should be set