Home
last modified time | relevance | path

Searched refs:NETIF_F_LRO (Results 1 – 25 of 37) 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()
/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.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/include/net/
H A Dnet_failover.h35 NETIF_F_HIGHDMA | NETIF_F_LRO)
/linux/include/linux/
H A Dnetdev_features.h125 #define NETIF_F_LRO __NETIF_F(LRO) macro
242 #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()
H A 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/drivers/net/ethernet/huawei/hinic/
H A 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/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()
/linux/drivers/net/hyperv/
H A Dnetvsc_bpf.c145 if (prog && (dev->features & NETIF_F_LRO)) { in netvsc_xdp_set()
H A Dnetvsc_drv.c1169 dev->features = NETIF_F_LRO; in netvsc_init_settings()
1918 if ((features & NETIF_F_LRO) && netvsc_xdp_get(nvdev)) { in netvsc_fix_features()
1919 features ^= NETIF_F_LRO; in netvsc_fix_features()
1939 if (!(change & NETIF_F_LRO)) in netvsc_set_features()
1944 if (features & NETIF_F_LRO) { in netvsc_set_features()
1955 features ^= NETIF_F_LRO; in netvsc_set_features()
H A Drndis_filter.c1420 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps()
1422 if (net->features & NETIF_F_LRO) { in rndis_netdev_set_hwcaps()
H A Dhyperv_net.h880 NETIF_F_TSO6 | NETIF_F_LRO | \
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c3018 if (!(features & NETIF_F_LRO)) { in mtk_fix_features()
3025 features |= NETIF_F_LRO; in mtk_fix_features()
3036 if ((diff & NETIF_F_LRO) && !(features & NETIF_F_LRO)) in mtk_set_features()
4383 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
4389 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
4397 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
4401 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
4418 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
4422 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
4636 eth->netdev[id]->hw_features |= NETIF_F_LRO; in mtk_add_mac()
/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_main.c524 features &= ~NETIF_F_LRO; in netxen_fix_features()
536 if (!((dev->features ^ features) & NETIF_F_LRO)) in netxen_set_features()
539 hw_lro = (features & NETIF_F_LRO) ? NETXEN_NIC_LRO_ENABLED in netxen_set_features()
545 if (!(features & NETIF_F_LRO) && netxen_send_lro_cleanup(adapter)) in netxen_set_features()
1119 if (netdev->features & NETIF_F_LRO) in __netxen_nic_up()
1363 netdev->hw_features |= NETIF_F_LRO; in netxen_setup_netdev()
/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()
1105 lowerdev_features &= (features | ~NETIF_F_LRO); in macvlan_fix_features()
H A Dtap.c121 #define RX_OFFLOADS (NETIF_F_GRO | NETIF_F_LRO)
/linux/drivers/net/ethernet/google/gve/
H A Dgve_adminq.c676 !!(priv->dev->features & NETIF_F_LRO); in gve_adminq_get_create_rx_queue_cmd()
941 priv->dev->hw_features |= NETIF_F_LRO; in gve_adminq_describe_device()
H A Dgve_main.c1684 if (dev->features & NETIF_F_LRO) { in verify_xdp_configuration()
2002 if ((netdev->features & NETIF_F_LRO) != (features & NETIF_F_LRO)) { in gve_set_features()
2003 netdev->features ^= NETIF_F_LRO; in gve_set_features()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c437 bp->dev->hw_features |= NETIF_F_LRO; in bnxt_xdp_set()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c4262 err |= MLX5E_HANDLE_FEATURE(NETIF_F_LRO, set_feature_lro); in mlx5e_set_features()
4336 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
4338 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
4347 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
4349 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
4358 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
4361 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
5327 netdev->vlan_features |= NETIF_F_LRO; in mlx5e_build_nic_netdev()
5389 netdev->features &= ~NETIF_F_LRO; in mlx5e_build_nic_netdev()
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2.c46 NETIF_F_LRO | \
/linux/net/ethtool/
H A Dioctl.c288 #define ETH_ALL_FEATURES (NETIF_F_LRO | NETIF_F_HW_VLAN_CTAG_RX | \
296 if (dev->features & NETIF_F_LRO) in __ethtool_get_flags()
318 features |= NETIF_F_LRO; in __ethtool_set_flags()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c9856 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9860 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9862 if (adapter->xdp_prog && (features & NETIF_F_LRO)) { in ixgbe_fix_features()
9864 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9894 if (!(features & NETIF_F_LRO)) { in ixgbe_set_features()
9904 } else if ((changed ^ features) & NETIF_F_LRO) { in ixgbe_set_features()
11105 netdev->hw_features |= NETIF_F_LRO; in ixgbe_probe()
11107 netdev->features |= NETIF_F_LRO; in ixgbe_probe()

12