net/ice: fix TCP checksum offload
authorHaiyue Wang <haiyue.wang@intel.com>
Tue, 28 Jul 2020 13:42:03 +0000 (21:42 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 29 Jul 2020 22:41:23 +0000 (00:41 +0200)
commit2a0c9ae4f646d8325eaaa0cd44b5def34f5a23b3
tree26e5be324c53da899159331793bf9aec96018ccb
parentb37e95507e1bd77c25ce8dae947cdfdb0d5b3308
net/ice: fix TCP checksum offload

The L4LEN field of the Descriptor Header Offset for TCP should be the
real length including the TCP options.

Fixes: 17c7d0f9d6a4 ("net/ice: support basic Rx/Tx")
Cc: stable@dpdk.org
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_rxtx.c