Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/
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()
/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/
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 …]
Dlio_main.c2746 if ((request & NETIF_F_LRO) && !(lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
2747 request &= ~NETIF_F_LRO; in liquidio_fix_features()
2750 if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && in liquidio_fix_features()
2751 (lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
2752 request &= ~NETIF_F_LRO; in liquidio_fix_features()
2771 if ((features & NETIF_F_LRO) && in liquidio_set_features()
2772 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features()
2773 !(netdev->features & NETIF_F_LRO)) in liquidio_set_features()
2776 else if (!(features & NETIF_F_LRO) && in liquidio_set_features()
2777 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features()
[all …]
/linux-6.6.21/include/net/
Dnet_failover.h35 NETIF_F_HIGHDMA | NETIF_F_LRO)
/linux-6.6.21/include/linux/
Dnetdev_features.h125 #define NETIF_F_LRO __NETIF_F(LRO) macro
242 #define NETIF_F_UPPER_DISABLES NETIF_F_LRO
/linux-6.6.21/drivers/net/vmxnet3/
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()
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()
Dvmxnet3_drv.c1800 !(adapter->netdev->features & NETIF_F_LRO)) in vmxnet3_rq_rx_complete()
1832 if ((adapter->netdev->features & NETIF_F_LRO) && in vmxnet3_rq_rx_complete()
2785 if (adapter->netdev->features & NETIF_F_LRO) { in vmxnet3_setup_driver_shared()
3510 NETIF_F_LRO | NETIF_F_HIGHDMA; in vmxnet3_declare_features()
3519 NETIF_F_LRO | NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_declare_features()
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_main.c874 features &= ~NETIF_F_LRO; in hinic_fix_features()
923 NETIF_F_RXCSUM | NETIF_F_LRO | in netdev_features_init()
1074 if (changed & NETIF_F_LRO) { in set_features()
1076 !!(features & NETIF_F_LRO), in set_features()
1081 failed_features |= NETIF_F_LRO; in set_features()
/linux-6.6.21/drivers/net/hyperv/
Dnetvsc_bpf.c145 if (prog && (dev->features & NETIF_F_LRO)) { in netvsc_xdp_set()
Dnetvsc_drv.c1169 dev->features = NETIF_F_LRO; in netvsc_init_settings()
1916 if ((features & NETIF_F_LRO) && netvsc_xdp_get(nvdev)) { in netvsc_fix_features()
1917 features ^= NETIF_F_LRO; in netvsc_fix_features()
1937 if (!(change & NETIF_F_LRO)) in netvsc_set_features()
1942 if (features & NETIF_F_LRO) { in netvsc_set_features()
1953 features ^= NETIF_F_LRO; in netvsc_set_features()
Drndis_filter.c1421 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps()
1423 if (net->features & NETIF_F_LRO) { in rndis_netdev_set_hwcaps()
Dhyperv_net.h880 NETIF_F_TSO6 | NETIF_F_LRO | \
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
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()
/linux-6.6.21/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c3015 if (!(features & NETIF_F_LRO)) { in mtk_fix_features()
3022 features |= NETIF_F_LRO; in mtk_fix_features()
3033 if ((diff & NETIF_F_LRO) && !(features & NETIF_F_LRO)) in mtk_set_features()
4378 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
4384 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
4392 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
4396 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
4413 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
4417 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
4631 eth->netdev[id]->hw_features |= NETIF_F_LRO; in mtk_add_mac()
/linux-6.6.21/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c526 features &= ~NETIF_F_LRO; in netxen_fix_features()
538 if (!((dev->features ^ features) & NETIF_F_LRO)) in netxen_set_features()
541 hw_lro = (features & NETIF_F_LRO) ? NETXEN_NIC_LRO_ENABLED in netxen_set_features()
547 if (!(features & NETIF_F_LRO) && netxen_send_lro_cleanup(adapter)) in netxen_set_features()
1121 if (netdev->features & NETIF_F_LRO) in __netxen_nic_up()
1365 netdev->hw_features |= NETIF_F_LRO; in netxen_setup_netdev()
/linux-6.6.21/drivers/net/ethernet/google/gve/
Dgve_adminq.c612 !!(priv->dev->features & NETIF_F_LRO); in gve_adminq_create_rx_queue()
838 priv->dev->hw_features |= NETIF_F_LRO; in gve_adminq_describe_device()
Dgve_main.c1644 if (dev->features & NETIF_F_LRO) { in verify_xdp_configuration()
1851 if ((netdev->features & NETIF_F_LRO) != (features & NETIF_F_LRO)) { in gve_set_features()
1852 netdev->features ^= NETIF_F_LRO; in gve_set_features()
/linux-6.6.21/drivers/net/
Dmacvlan.c906 NETIF_F_GSO | NETIF_F_TSO | NETIF_F_LRO | \
930 dev->hw_features |= NETIF_F_LRO; in macvlan_init()
1116 lowerdev_features &= (features | ~NETIF_F_LRO); in macvlan_fix_features()
Dtap.c121 #define RX_OFFLOADS (NETIF_F_GRO | NETIF_F_LRO)
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c437 bp->dev->hw_features |= NETIF_F_LRO; in bnxt_xdp_set()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c4091 err |= MLX5E_HANDLE_FEATURE(NETIF_F_LRO, set_feature_lro); in mlx5e_set_features()
4165 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
4167 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
4176 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
4178 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
4187 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
4190 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
5156 netdev->vlan_features |= NETIF_F_LRO; in mlx5e_build_nic_netdev()
5219 netdev->features &= ~NETIF_F_LRO; in mlx5e_build_nic_netdev()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c46 NETIF_F_LRO | \
/linux-6.6.21/net/ethtool/
Dioctl.c285 #define ETH_ALL_FEATURES (NETIF_F_LRO | NETIF_F_HW_VLAN_CTAG_RX | \
293 if (dev->features & NETIF_F_LRO) in __ethtool_get_flags()
315 features |= NETIF_F_LRO; in __ethtool_set_flags()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c9826 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9830 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9832 if (adapter->xdp_prog && (features & NETIF_F_LRO)) { in ixgbe_fix_features()
9834 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9864 if (!(features & NETIF_F_LRO)) { in ixgbe_set_features()
9874 } else if ((changed ^ features) & NETIF_F_LRO) { in ixgbe_set_features()
11038 netdev->hw_features |= NETIF_F_LRO; in ixgbe_probe()
11040 netdev->features |= NETIF_F_LRO; in ixgbe_probe()

12