app/testpmd: fix TSO when using outer checksum offloads
authorOlivier Matz <olivier.matz@6wind.com>
Fri, 13 Feb 2015 09:22:49 +0000 (10:22 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 16 Feb 2015 18:21:18 +0000 (19:21 +0100)
commit08f661aca1178b4f000fdd50c2881df0f4156120
treee8875e5ae906bd08968f53043dcb233364683c9f
parentc86e19755a86005548810707c9aa4757f233f7ec
app/testpmd: fix TSO when using outer checksum offloads

The l4_len has also to be copied in mbuf in case we are offloading outer
IP checksum. Currently, TSO + outer checksum is not supported by any
driver but it will soon be supported by i40e.

Reported-by: Jijiang Liu <jijiang.liu@intel.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
app/test-pmd/csumonly.c