net/qede: fix tunnel header size in Tx BD configuration
authorHarish Patil <harish.patil@cavium.com>
Sat, 27 Jan 2018 21:15:28 +0000 (13:15 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jan 2018 09:48:13 +0000 (10:48 +0100)
commita5b252a415ce15362980e3257dbdf5f0e6412d35
treef3a39815c8cd88b1552ef434b1ea9ad69b806f39
parent3f72dd780e1078191305e6ed4268f82ff3cf1e02
net/qede: fix tunnel header size in Tx BD configuration

- Fix incorrect header size. In the tunnel case, the outer L2/L3 lengths
should be included to calculate tunnel header_size.
- In TSO case, skip manipulating TX BD1 and TX BD2 data buffer fields
since those fields are already updated with header and payload lengths
respectively.
- Update TX BD debug data collection.

Fixes: 3d4bb4411683 ("net/qede: add fastpath support for VXLAN tunneling")
Cc: stable@dpdk.org
Signed-off-by: Harish Patil <harish.patil@cavium.com>
drivers/net/qede/qede_rxtx.c