]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: hns3: remove GSO partial feature bit
authorJie Wang <wangjie125@huawei.com>
Wed, 6 Sep 2023 07:20:18 +0000 (15:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:23:00 +0000 (12:23 +0200)
commitf5160dc17e81bb652da380194b37eb44556dd65c
tree4f7f3ee9829874ccc1aeca61743c8bfee4bcbd3c
parent6d548b7cb216581d40c007d8f82748b29bca1a90
net: hns3: remove GSO partial feature bit

[ Upstream commit 60326634f6c54528778de18bfef1e8a7a93b3771 ]

HNS3 NIC does not support GSO partial packets segmentation. Actually tunnel
packets for example NvGRE packets segment offload and checksum offload is
already supported. There is no need to keep gso partial feature bit. So
this patch removes it.

Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Signed-off-by: Jie Wang <wangjie125@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c