Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dnetdev_features.h111 #define NETIF_F_GRO_HW __NETIF_F(GRO_HW) macro
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c4323 if (features & (NETIF_F_GRO_HW | NETIF_F_LRO)) { in mlx5e_set_features()
4326 err |= MLX5E_HANDLE_FEATURE(NETIF_F_GRO_HW, set_feature_hw_gro); in mlx5e_set_features()
4329 err |= MLX5E_HANDLE_FEATURE(NETIF_F_GRO_HW, set_feature_hw_gro); in mlx5e_set_features()
4368 features &= ~NETIF_F_GRO_HW; in mlx5e_fix_uplink_rep_features()
4369 if (netdev->features & NETIF_F_GRO_HW) in mlx5e_fix_uplink_rep_features()
4407 if (features & NETIF_F_GRO_HW) { in mlx5e_fix_features()
4409 features &= ~NETIF_F_GRO_HW; in mlx5e_fix_features()
4418 if (features & NETIF_F_GRO_HW) { in mlx5e_fix_features()
4420 features &= ~NETIF_F_GRO_HW; in mlx5e_fix_features()
4430 if (features & NETIF_F_GRO_HW) { in mlx5e_fix_features()
[all …]
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_lib.c787 offloads |= NETIF_F_GRO_HW; in idpf_cfg_netdev()
2124 if (changed & NETIF_F_GRO_HW) { in idpf_set_features()
2125 netdev->features ^= NETIF_F_GRO_HW; in idpf_set_features()
H A Didpf_virtchnl.c1596 if (idpf_is_feature_ena(vport, NETIF_F_GRO_HW)) in idpf_send_config_rx_queues_msg()
1632 if (idpf_is_feature_ena(vport, NETIF_F_GRO_HW)) in idpf_send_config_rx_queues_msg()
/linux/drivers/net/ethernet/qlogic/qede/
H A 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()
H A Dqede_filter.c920 features &= ~NETIF_F_GRO_HW; in qede_fix_features()
931 if (changes & NETIF_F_GRO_HW) in qede_set_features()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c2512 else if (bp->dev->features & NETIF_F_GRO_HW) in bnx2x_bz_fp()
4908 dev->features &= ~NETIF_F_GRO_HW; in bnx2x_change_mtu()
4943 features &= ~NETIF_F_GRO_HW; in bnx2x_fix_features()
4944 if (features & NETIF_F_GRO_HW) in bnx2x_fix_features()
H A 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/net/core/
H A Ddev.c1811 dev->wanted_features &= ~NETIF_F_GRO_HW; in dev_disable_gro_hw()
1814 if (unlikely(dev->features & NETIF_F_GRO_HW)) in dev_disable_gro_hw()
10472 if (features & NETIF_F_GRO_HW) { in netdev_fix_features()
10474 features &= ~NETIF_F_GRO_HW; in netdev_fix_features()
10485 if (features & NETIF_F_GRO_HW) { in netdev_fix_features()
10487 features &= ~NETIF_F_GRO_HW; in netdev_fix_features()
10491 if ((features & NETIF_F_GRO_HW) && (features & NETIF_F_LRO)) { in netdev_fix_features()
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c2420 if (changed & (NETIF_F_GRO_HW) && h->ae_algo->ops->set_gro_en) { in hns3_nic_set_features()
2421 enable = !!(features & NETIF_F_GRO_HW); in hns3_nic_set_features()
3322 netdev->features |= NETIF_F_GRO_HW; in hns3_set_default_feature()
3347 NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_GRO_HW | NETIF_F_NTUPLE | in hns3_set_default_feature()
/linux/drivers/net/
H A Dvirtio_net.c6029 if ((dev->features ^ features) & NETIF_F_GRO_HW) { in virtnet_set_features()
6033 if (features & NETIF_F_GRO_HW) in virtnet_set_features()
6687 dev->features |= NETIF_F_GRO_HW; in virtnet_probe()
6689 dev->hw_features |= NETIF_F_GRO_HW; in virtnet_probe()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c4616 else if (bp->dev->features & NETIF_F_GRO_HW) in bnxt_set_tpa_flags()
13275 features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_fix_features()
13278 features &= ~NETIF_F_GRO_HW; in bnxt_fix_features()
13280 if (features & NETIF_F_GRO_HW) in bnxt_fix_features()
13320 if (features & NETIF_F_GRO_HW) in bnxt_set_features()
15879 bp->dev->hw_features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_get_dflt_rings()
15880 bp->dev->features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_get_dflt_rings()
16255 dev->hw_features |= NETIF_F_GRO_HW; in bnxt_init_one()
16257 if (dev->features & NETIF_F_GRO_HW) in bnxt_init_one()