Skip to content

Commit 6032663

Browse files
Jie WangPaolo Abeni
authored andcommitted
net: hns3: remove GSO partial feature bit
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: 76ad4f0 ("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>
1 parent 674d959 commit 6032663

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3316,8 +3316,6 @@ static void hns3_set_default_feature(struct net_device *netdev)
33163316

33173317
netdev->priv_flags |= IFF_UNICAST_FLT;
33183318

3319-
netdev->gso_partial_features |= NETIF_F_GSO_GRE_CSUM;
3320-
33213319
netdev->features |= NETIF_F_HW_VLAN_CTAG_FILTER |
33223320
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
33233321
NETIF_F_RXCSUM | NETIF_F_SG | NETIF_F_GSO |

0 commit comments

Comments
 (0)