Home
last modified time | relevance | path

Searched refs:NETIF_F_GRO_HW (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/include/linux/
Dnetdev_features.h113 #define NETIF_F_GRO_HW __NETIF_F(GRO_HW) macro
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c4092 err |= MLX5E_HANDLE_FEATURE(NETIF_F_GRO_HW, set_feature_hw_gro); in mlx5e_set_features()
4130 features &= ~NETIF_F_GRO_HW; in mlx5e_fix_uplink_rep_features()
4131 if (netdev->features & NETIF_F_GRO_HW) in mlx5e_fix_uplink_rep_features()
4169 if (features & NETIF_F_GRO_HW) { in mlx5e_fix_features()
4171 features &= ~NETIF_F_GRO_HW; in mlx5e_fix_features()
4180 if (features & NETIF_F_GRO_HW) { in mlx5e_fix_features()
4182 features &= ~NETIF_F_GRO_HW; in mlx5e_fix_features()
4192 if (features & NETIF_F_GRO_HW) { in mlx5e_fix_features()
4195 features &= ~NETIF_F_GRO_HW; in mlx5e_fix_features()
4204 if (features & NETIF_F_GRO_HW) { in mlx5e_fix_features()
[all …]
/linux-6.6.21/drivers/net/ethernet/qlogic/qede/
Dqede_main.c869 hw_features = NETIF_F_GRO | NETIF_F_GRO_HW | NETIF_F_SG | in qede_init_ndev()
1601 edev->ndev->features &= ~NETIF_F_GRO_HW; in qede_alloc_mem_rxq()
1642 edev->gro_disable = !(edev->ndev->features & NETIF_F_GRO_HW); in qede_alloc_mem_rxq()
Dqede_filter.c920 features &= ~NETIF_F_GRO_HW; in qede_fix_features()
931 if (changes & NETIF_F_GRO_HW) in qede_set_features()
Dqede_ethtool.c1064 ndev->features &= ~NETIF_F_GRO_HW; in qede_change_mtu()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c2511 else if (bp->dev->features & NETIF_F_GRO_HW) in bnx2x_bz_fp()
4909 dev->features &= ~NETIF_F_GRO_HW; in bnx2x_change_mtu()
4944 features &= ~NETIF_F_GRO_HW; in bnx2x_fix_features()
4945 if (features & NETIF_F_GRO_HW) in bnx2x_fix_features()
Dbnx2x_main.c12354 bp->dev->hw_features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnx2x_init_bp()
12355 bp->dev->features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnx2x_init_bp()
13189 NETIF_F_RXCSUM | NETIF_F_LRO | NETIF_F_GRO | NETIF_F_GRO_HW | in bnx2x_init_dev()
13229 dev->features &= ~NETIF_F_GRO_HW; in bnx2x_init_dev()
/linux-6.6.21/drivers/net/
Dvirtio_net.c3884 if ((dev->features ^ features) & NETIF_F_GRO_HW) { in virtnet_set_features()
3888 if (features & NETIF_F_GRO_HW) in virtnet_set_features()
4445 dev->features |= NETIF_F_GRO_HW; in virtnet_probe()
4447 dev->hw_features |= NETIF_F_GRO_HW; in virtnet_probe()
/linux-6.6.21/net/core/
Ddev.c1651 dev->wanted_features &= ~NETIF_F_GRO_HW; in dev_disable_gro_hw()
1654 if (unlikely(dev->features & NETIF_F_GRO_HW)) in dev_disable_gro_hw()
9760 if (features & NETIF_F_GRO_HW) { in netdev_fix_features()
9762 features &= ~NETIF_F_GRO_HW; in netdev_fix_features()
9773 if (features & NETIF_F_GRO_HW) { in netdev_fix_features()
9775 features &= ~NETIF_F_GRO_HW; in netdev_fix_features()
9779 if ((features & NETIF_F_GRO_HW) && (features & NETIF_F_LRO)) { in netdev_fix_features()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c2424 if (changed & (NETIF_F_GRO_HW) && h->ae_algo->ops->set_gro_en) { in hns3_nic_set_features()
2425 enable = !!(features & NETIF_F_GRO_HW); in hns3_nic_set_features()
3327 netdev->features |= NETIF_F_GRO_HW; in hns3_set_default_feature()
3352 NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_GRO_HW | NETIF_F_NTUPLE | in hns3_set_default_feature()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c3889 else if (bp->dev->features & NETIF_F_GRO_HW) in bnxt_set_tpa_flags()
11258 features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_fix_features()
11261 features &= ~NETIF_F_GRO_HW; in bnxt_fix_features()
11263 if (features & NETIF_F_GRO_HW) in bnxt_fix_features()
11293 if (features & NETIF_F_GRO_HW) in bnxt_set_features()
13356 bp->dev->hw_features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_get_dflt_rings()
13357 bp->dev->features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_get_dflt_rings()
13711 dev->hw_features |= NETIF_F_GRO_HW; in bnxt_init_one()
13713 if (dev->features & NETIF_F_GRO_HW) in bnxt_init_one()