]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd35d835c4dfefcda8794497af100a1e028009db4
tree88e09d7ba2bb8e51e57edaa49fcca9c21df46b48
parent5c297900b98134cc987ac719422b7de6fd78faf5
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