net/iavf: fix Tx checksum offload in AVX path
authorLeyi Rong <leyi.rong@intel.com>
Tue, 12 Nov 2019 02:42:06 +0000 (10:42 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:05 +0000 (17:36 +0100)
commitd7a6eab090c6c912eb7a658827ada803cae7fd51
treecf2836306d38559b6c9270ace3a52a59377f5e73
parent89a3286f9c59467d68c450a9fc3ab86b9eb64b89
net/iavf: fix Tx checksum offload in AVX path

Fix iavf vf_checksum_sw case fail in X710/XXV710, set bit2 to 1
of CMD field in Tx descriptor of AVX Tx path according to Spec.

Fixes: af0c246a3800 ("net/iavf: enable AVX2 for iavf")

Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_rxtx_vec_avx2.c