net: hns3: remove unsupported NETIF_F_GSO_UDP_TUNNEL_CSUM
authorHuazhong Tan <tanhuazhong@huawei.com>
Sat, 28 Nov 2020 03:51:46 +0000 (11:51 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Dec 2020 23:16:31 +0000 (15:16 -0800)
commit57e72c121c7fab33d643f97b617a2c2bb83ea533
tree88e09d7ba2bb8e51e57edaa49fcca9c21df46b48
parent66d52f3bf385c8d969e9ca6b281ddf773c9691d7
net: hns3: remove unsupported NETIF_F_GSO_UDP_TUNNEL_CSUM

Currently, device V1 and V2 do not support segmentation
offload for UDP based tunnel packet who needs outer UDP
checksum offload, so there is a workaround in the driver
to set the checksum of the outer UDP checksum as zero. This
is not what the user wants, so remove this feature for
device V1 and V2, add support for it later(when the device
has the ability to do that).

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c