app/testpmd: fix Tx checksum when TSO enabled
authorPeng Huang <peng.huang@intel.com>
Thu, 24 Oct 2019 09:37:34 +0000 (09:37 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:23:22 +0000 (19:23 +0200)
commit0322272c9fd39e1a5942c73232d43d3ebeeff7b1
treece04f706a6b16516d2a7eb0014016c8027e3f5cf
parent38e118c0d8304190d4f24297fe2279a7b658c071
app/testpmd: fix Tx checksum when TSO enabled

This patch fixed the TX checksum value problem when enabled TSO in
tunnel packets, because outer UDP checksum calculation depend on
the TSO configuration.

Fixes: 0f62d63593ed ("app/testpmd: support tunneled TSO in checksum engine")
Cc: stable@dpdk.org
Signed-off-by: Peng Huang <peng.huang@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/csumonly.c