/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_main.c | 185 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/ |
D | lio_vf_main.c | 1828 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 …]
|
D | lio_main.c | 2746 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/ |
D | net_failover.h | 35 NETIF_F_HIGHDMA | NETIF_F_LRO)
|
/linux-6.6.21/include/linux/ |
D | netdev_features.h | 125 #define NETIF_F_LRO __NETIF_F(LRO) macro 242 #define NETIF_F_UPPER_DISABLES NETIF_F_LRO
|
/linux-6.6.21/drivers/net/vmxnet3/ |
D | vmxnet3_ethtool.c | 271 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()
|
D | vmxnet3_xdp.c | 53 if (adapter->netdev->features & NETIF_F_LRO) { in vmxnet3_xdp_set() 55 adapter->netdev->features &= ~NETIF_F_LRO; in vmxnet3_xdp_set()
|
D | vmxnet3_drv.c | 1800 !(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/ |
D | hinic_main.c | 874 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/ |
D | netvsc_bpf.c | 145 if (prog && (dev->features & NETIF_F_LRO)) { in netvsc_xdp_set()
|
D | netvsc_drv.c | 1169 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()
|
D | rndis_filter.c | 1421 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps() 1423 if (net->features & NETIF_F_LRO) { in rndis_netdev_set_hwcaps()
|
D | hyperv_net.h | 880 NETIF_F_TSO6 | NETIF_F_LRO | \
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 1077 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/ |
D | mtk_eth_soc.c | 3015 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/ |
D | netxen_nic_main.c | 526 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/ |
D | gve_adminq.c | 612 !!(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()
|
D | gve_main.c | 1644 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/ |
D | macvlan.c | 906 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()
|
D | tap.c | 121 #define RX_OFFLOADS (NETIF_F_GRO | NETIF_F_LRO)
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.c | 437 bp->dev->hw_features |= NETIF_F_LRO; in bnxt_xdp_set()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_main.c | 4091 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/ |
D | hw_atl2.c | 46 NETIF_F_LRO | \
|
/linux-6.6.21/net/ethtool/ |
D | ioctl.c | 285 #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/ |
D | ixgbe_main.c | 9826 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()
|