Home
last modified time | relevance | path

Searched refs:NETIF_F_LRO (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_main.c185 if (aq_cfg->aq_hw_caps->hw_features & NETIF_F_LRO) { in aq_ndev_set_features()
186 is_lro = features & NETIF_F_LRO; in aq_ndev_set_features()
227 features &= ~NETIF_F_LRO; in aq_ndev_fix_features()
231 aq_nic->xdp_prog && features & NETIF_F_LRO) { in aq_ndev_fix_features()
233 features &= ~NETIF_F_LRO; in aq_ndev_fix_features()
459 if (prog && ndev->features & NETIF_F_LRO) { in aq_xdp_setup()
462 ndev->features &= ~NETIF_F_LRO; in aq_xdp_setup()
H A Daq_nic.c378 NETIF_F_LRO | NETIF_F_TSO | NETIF_F_TSO6; in aq_nic_ndev_init()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_vf_main.c1828 if ((request & NETIF_F_LRO) && !(lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
1829 request &= ~NETIF_F_LRO; in liquidio_fix_features()
1832 if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && in liquidio_fix_features()
1833 (lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
1834 request &= ~NETIF_F_LRO; in liquidio_fix_features()
1848 if (!((netdev->features ^ features) & NETIF_F_LRO)) in liquidio_set_features()
1851 if ((features & NETIF_F_LRO) && (lio->dev_capability & NETIF_F_LRO)) in liquidio_set_features()
1854 else if (!(features & NETIF_F_LRO) && in liquidio_set_features()
1855 (lio->dev_capability & NETIF_F_LRO)) in liquidio_set_features()
2090 | NETIF_F_LRO; in setup_nic_devices()
[all …]
H A Dlio_main.c2740 if ((request & NETIF_F_LRO) && !(lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
2741 request &= ~NETIF_F_LRO; in liquidio_fix_features()
2744 if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && in liquidio_fix_features()
2745 (lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
2746 request &= ~NETIF_F_LRO; in liquidio_fix_features()
2765 if ((features & NETIF_F_LRO) && in liquidio_set_features()
2766 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features()
2767 !(netdev->features & NETIF_F_LRO)) in liquidio_set_features()
2770 else if (!(features & NETIF_F_LRO) && in liquidio_set_features()
2771 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features()
[all …]
/linux/include/net/
H A Dnet_failover.h35 NETIF_F_HIGHDMA | NETIF_F_LRO)
/linux/include/linux/
H A Dnetdev_features.h122 #define NETIF_F_LRO __NETIF_F(LRO) macro
234 #define NETIF_F_UPPER_DISABLES NETIF_F_LRO
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_ethtool.c271 features &= ~NETIF_F_LRO; in vmxnet3_fix_features()
274 if (vmxnet3_xdp_enabled(adapter) && (features & NETIF_F_LRO)) { in vmxnet3_fix_features()
276 features &= ~NETIF_F_LRO; in vmxnet3_fix_features()
332 NETIF_F_LRO; in vmxnet3_enable_encap_offloads()
393 NETIF_F_LRO | NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_disable_encap_offloads()
423 if (changed & (NETIF_F_RXCSUM | NETIF_F_LRO | in vmxnet3_set_features()
433 if (features & NETIF_F_LRO) in vmxnet3_set_features()
H A Dvmxnet3_xdp.c53 if (adapter->netdev->features & NETIF_F_LRO) { in vmxnet3_xdp_set()
55 adapter->netdev->features &= ~NETIF_F_LRO; in vmxnet3_xdp_set()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_main.c876 features &= ~NETIF_F_LRO; in hinic_fix_features()
925 NETIF_F_RXCSUM | NETIF_F_LRO | in netdev_features_init()
1076 if (changed & NETIF_F_LRO) { in set_features()
1078 !!(features & NETIF_F_LRO), in set_features()
1083 failed_features |= NETIF_F_LRO; in set_features()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_hw.c1077 features &= ~NETIF_F_LRO; in qlcnic_fix_features()
1087 int hw_lro = (features & NETIF_F_LRO) ? QLCNIC_LRO_ENABLED : 0; in qlcnic_set_features()
1089 if (!(changed & NETIF_F_LRO)) in qlcnic_set_features()
1092 netdev->features ^= NETIF_F_LRO; in qlcnic_set_features()
H A Dqlcnic_main.c1890 if (netdev->features & NETIF_F_LRO) in __qlcnic_up()
2296 netdev->features |= NETIF_F_LRO; in qlcnic_setup_netdev()
/linux/drivers/net/hyperv/
H A Dnetvsc_bpf.c145 if (prog && (dev->features & NETIF_F_LRO)) { in netvsc_xdp_set()
H A Dnetvsc_drv.c1170 dev->features = NETIF_F_LRO; in netvsc_init_settings()
1919 if ((features & NETIF_F_LRO) && netvsc_xdp_get(nvdev)) { in netvsc_fix_features()
1920 features ^= NETIF_F_LRO; in netvsc_fix_features()
1940 if (!(change & NETIF_F_LRO)) in netvsc_set_features()
1945 if (features & NETIF_F_LRO) { in netvsc_set_features()
1956 features ^= NETIF_F_LRO; in netvsc_set_features()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c3036 if (!(features & NETIF_F_LRO)) { in mtk_fix_features()
3043 features |= NETIF_F_LRO; in mtk_fix_features()
3054 if ((diff & NETIF_F_LRO) && !(features & NETIF_F_LRO)) in mtk_set_features()
4414 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
4420 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
4428 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
4432 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
4449 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
4453 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
4683 eth->netdev[id]->hw_features |= NETIF_F_LRO; in mtk_add_mac()
/linux/drivers/net/
H A Dmacvlan.c907 NETIF_F_GSO | NETIF_F_TSO | NETIF_F_LRO | \
931 dev->hw_features |= NETIF_F_LRO; in macvlan_init()
1106 lowerdev_features &= (features | ~NETIF_F_LRO); in macvlan_fix_features()
/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()
4325 err |= MLX5E_HANDLE_FEATURE(NETIF_F_LRO, set_feature_lro); in mlx5e_set_features()
4328 err |= MLX5E_HANDLE_FEATURE(NETIF_F_LRO, set_feature_lro); in mlx5e_set_features()
4403 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
4405 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
4414 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
4416 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
4425 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
4428 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
5517 netdev->vlan_features |= NETIF_F_LRO; in mlx5e_build_nic_netdev()
[all …]
/linux/drivers/net/ethernet/google/gve/
H A Dgve_main.c1740 if (dev->features & NETIF_F_LRO) { in verify_xdp_configuration()
2096 if ((netdev->features & NETIF_F_LRO) != (features & NETIF_F_LRO)) { in gve_set_features()
2097 netdev->features ^= NETIF_F_LRO; in gve_set_features()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c10218 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
10222 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
10224 if (adapter->xdp_prog && (features & NETIF_F_LRO)) { in ixgbe_fix_features()
10226 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
10256 if (!(features & NETIF_F_LRO)) { in ixgbe_set_features()
10266 } else if ((changed ^ features) & NETIF_F_LRO) { in ixgbe_set_features()
11499 netdev->hw_features |= NETIF_F_LRO; in ixgbe_probe()
11501 netdev->features |= NETIF_F_LRO; in ixgbe_probe()
/linux/net/ethtool/
H A Dioctl.c289 #define ETH_ALL_FEATURES (NETIF_F_LRO | NETIF_F_HW_VLAN_CTAG_RX | \
297 if (dev->features & NETIF_F_LRO) in __ethtool_get_flags()
319 features |= NETIF_F_LRO; in __ethtool_set_flags()
/linux/drivers/net/team/
H A Dteam_core.c986 NETIF_F_HIGHDMA | NETIF_F_LRO | \
1250 if (!(dev->features & NETIF_F_LRO)) in team_port_add()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c2510 if (bp->dev->features & NETIF_F_LRO) in bnx2x_bz_fp()
4940 features &= ~NETIF_F_LRO; in bnx2x_fix_features()
4945 features &= ~NETIF_F_LRO; 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()
13228 if (dev->features & NETIF_F_LRO) in bnx2x_init_dev()
/linux/net/core/
H A Ddev.c1790 dev->wanted_features &= ~NETIF_F_LRO; in dev_disable_lro()
1793 if (unlikely(dev->features & NETIF_F_LRO)) in dev_disable_lro()
10480 if (features & NETIF_F_LRO) { in netdev_fix_features()
10482 features &= ~NETIF_F_LRO; in netdev_fix_features()
10491 if ((features & NETIF_F_GRO_HW) && (features & NETIF_F_LRO)) { in netdev_fix_features()
10493 features &= ~NETIF_F_LRO; in netdev_fix_features()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c4614 if (bp->dev->features & NETIF_F_LRO) in bnxt_set_tpa_flags()
4772 bp->dev->hw_features |= NETIF_F_LRO; in bnxt_set_rx_skb_mode()
7891 bp->dev->hw_features &= ~NETIF_F_LRO; in __bnxt_reserve_rings()
7892 bp->dev->features &= ~NETIF_F_LRO; in __bnxt_reserve_rings()
13275 features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_fix_features()
13281 features &= ~NETIF_F_LRO; in bnxt_fix_features()
13322 else if (features & NETIF_F_LRO) 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()
16232 dev->hw_features |= NETIF_F_LRO; in bnxt_init_one()
[all …]
/linux/drivers/net/bonding/
H A Dbond_main.c1538 NETIF_F_HIGHDMA | NETIF_F_LRO)
2297 if (!(bond_dev->features & NETIF_F_LRO)) in bond_enslave()

12