net/iavf: fix packet length parsing in AVX512
authorLeyi Rong <leyi.rong@intel.com>
Wed, 17 Mar 2021 09:17:56 +0000 (17:17 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Mon, 29 Mar 2021 23:17:15 +0000 (01:17 +0200)
commitfecbc64cb3647531062a8b97bd62a98bee05e773
tree10e2884d65e54142b3313248431a9577e21b1ffd
parentb0c46698994719724877963848ac4af4ad4d3ce9
net/iavf: fix packet length parsing in AVX512

Fix pkt_len parsing when DEV_RX_OFFLOAD_KEEP_CRC is set in AVX512 path.

Fixes: 31737f2b66fb ("net/iavf: enable AVX512 for legacy Rx")
Fixes: 6df587028e57 ("net/iavf: enable AVX512 for flexible Rx")
Cc: stable@dpdk.org
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Tested-by: David Coyle <david.coyle@intel.com>
drivers/net/iavf/iavf_rxtx_vec_avx512.c