net/ixgbe: mark bad checksum for NEON Rx
authorFeifei Wang <feifei.wang2@arm.com>
Wed, 18 Nov 2020 10:48:57 +0000 (04:48 -0600)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:04 +0000 (16:03 +0100)
commitf1657f97e4753efc77a331bb8aecb4f21869d7f7
tree2c5a1c2b84f6c48fe1ffb525123f86a151f3373a
parentff1294ca53ac0338746b7a6c818d208ef16c58a0
net/ixgbe: mark bad checksum for NEON Rx

Updated desc_to_olflags_v() to support PKT_RX_IP_CKSUM_BAD and
PKT_RX_L4_CKSUM_BAD in the ol_flags of the mbuf.

And then the NEON vector RX function can be called with hw_ip_checksum
enabled.

Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c