net/iavf: fix Tx L4 checksum
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Tue, 27 Apr 2021 02:24:28 +0000 (10:24 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 27 Apr 2021 03:24:36 +0000 (05:24 +0200)
commit08eb6a9cc2e136e177de620425a4e39112a2897a
tree062bd084eb52d305ad2eaf7a045bf85623204c11
parent028c9d4da2b7bc843fe65c13432b26700b5e29a6
net/iavf: fix Tx L4 checksum

Leverage the behavior of the scalar path, preparing
packets is necessary for vector paths which support checksum
offload.

Fixes: 059f18ae2aec ("net/iavf: add offload path for Tx AVX512")

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/iavf/iavf_rxtx.c