net/txgbe: fix VXLAN-GPE packet checksum
authorJiawen Wu <jiawenwu@trustnetic.com>
Wed, 13 Oct 2021 02:45:21 +0000 (10:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Oct 2021 14:42:02 +0000 (16:42 +0200)
commite5ece1f467aa7b31811b174c196f9ec0909c7ae0
treee7193f9443c9210fc47466ed0b1886b037fa3ff5
parent196f0e123bcbc2f0ace3b94f48232174ec554793
net/txgbe: fix VXLAN-GPE packet checksum

Parse inner L2 length to set correct packet type, and ensure that
hardware can compute the checksum successfully.

Fixes: b950203be7f1 ("net/txgbe: support VXLAN-GPE")
Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
drivers/net/txgbe/txgbe_ptypes.c
drivers/net/txgbe/txgbe_rxtx.c