Home
last modified time | relevance | path

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

12

/Linux-v5.10/include/net/
Dnet_failover.h35 NETIF_F_HIGHDMA | NETIF_F_LRO)
/Linux-v5.10/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_main.c1824 if ((request & NETIF_F_LRO) && !(lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
1825 request &= ~NETIF_F_LRO; in liquidio_fix_features()
1828 if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && in liquidio_fix_features()
1829 (lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
1830 request &= ~NETIF_F_LRO; in liquidio_fix_features()
1844 if (!((netdev->features ^ features) & NETIF_F_LRO)) in liquidio_set_features()
1847 if ((features & NETIF_F_LRO) && (lio->dev_capability & NETIF_F_LRO)) in liquidio_set_features()
1850 else if (!(features & NETIF_F_LRO) && in liquidio_set_features()
1851 (lio->dev_capability & NETIF_F_LRO)) in liquidio_set_features()
2088 | NETIF_F_LRO; in setup_nic_devices()
[all …]
Dlio_main.c2731 if ((request & NETIF_F_LRO) && !(lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
2732 request &= ~NETIF_F_LRO; in liquidio_fix_features()
2735 if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && in liquidio_fix_features()
2736 (lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
2737 request &= ~NETIF_F_LRO; in liquidio_fix_features()
2756 if ((features & NETIF_F_LRO) && in liquidio_set_features()
2757 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features()
2758 !(netdev->features & NETIF_F_LRO)) in liquidio_set_features()
2761 else if (!(features & NETIF_F_LRO) && in liquidio_set_features()
2762 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features()
[all …]
/Linux-v5.10/include/linux/
Dnetdev_features.h119 #define NETIF_F_LRO __NETIF_F(LRO) macro
231 #define NETIF_F_UPPER_DISABLES NETIF_F_LRO
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls.c216 netdev->features &= ~NETIF_F_LRO; in mlx5e_tls_build_netdev()
217 netdev->hw_features &= ~NETIF_F_LRO; in mlx5e_tls_build_netdev()
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_main.c170 if (aq_cfg->aq_hw_caps->hw_features & NETIF_F_LRO) { in aq_ndev_set_features()
171 is_lro = features & NETIF_F_LRO; in aq_ndev_set_features()
/Linux-v5.10/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c265 features &= ~NETIF_F_LRO; in vmxnet3_fix_features()
306 NETIF_F_LRO | NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_enable_encap_offloads()
319 NETIF_F_LRO | NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_disable_encap_offloads()
333 if (changed & (NETIF_F_RXCSUM | NETIF_F_LRO | in vmxnet3_set_features()
343 if (features & NETIF_F_LRO) in vmxnet3_set_features()
Dvmxnet3_drv.c1572 !(adapter->netdev->features & NETIF_F_LRO)) in vmxnet3_rq_rx_complete()
1603 if (adapter->netdev->features & NETIF_F_LRO) in vmxnet3_rq_rx_complete()
2499 if (adapter->netdev->features & NETIF_F_LRO) { in vmxnet3_setup_driver_shared()
3153 NETIF_F_LRO; in vmxnet3_declare_features()
3162 NETIF_F_LRO | NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_declare_features()
/Linux-v5.10/drivers/net/hyperv/
Dnetvsc_bpf.c115 if (prog && (dev->features & NETIF_F_LRO)) { in netvsc_xdp_set()
Dnetvsc_drv.c1184 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()
Drndis_filter.c1321 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps()
1323 if (net->features & NETIF_F_LRO) { in rndis_netdev_set_hwcaps()
Dhyperv_net.h838 NETIF_F_TSO6 | NETIF_F_LRO | \
/Linux-v5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_main.c906 features &= ~NETIF_F_LRO; in hinic_fix_features()
955 NETIF_F_RXCSUM | NETIF_F_LRO | in netdev_features_init()
1108 if (changed & NETIF_F_LRO) { in set_features()
1110 !!(features & NETIF_F_LRO), in set_features()
1115 failed_features |= NETIF_F_LRO; in set_features()
/Linux-v5.10/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1988 if (!(features & NETIF_F_LRO)) { in mtk_fix_features()
1995 features |= NETIF_F_LRO; in mtk_fix_features()
2006 if (!((dev->features ^ features) & NETIF_F_LRO)) in mtk_set_features()
2009 if (!(features & NETIF_F_LRO)) in mtk_set_features()
2725 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
2731 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
2739 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
2743 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
2760 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
2764 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
[all …]
/Linux-v5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c1081 features &= ~NETIF_F_LRO; in qlcnic_fix_features()
1091 int hw_lro = (features & NETIF_F_LRO) ? QLCNIC_LRO_ENABLED : 0; in qlcnic_set_features()
1093 if (!(changed & NETIF_F_LRO)) in qlcnic_set_features()
1096 netdev->features ^= NETIF_F_LRO; in qlcnic_set_features()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c309 bp->dev->hw_features |= NETIF_F_LRO; in bnxt_xdp_set()
/Linux-v5.10/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()
1126 if (netdev->features & NETIF_F_LRO) in __netxen_nic_up()
1370 netdev->hw_features |= NETIF_F_LRO; in netxen_setup_netdev()
/Linux-v5.10/drivers/net/
Dmacvlan.c873 NETIF_F_GSO | NETIF_F_TSO | NETIF_F_LRO | \
897 dev->hw_features |= NETIF_F_LRO; in macvlan_init()
1080 lowerdev_features &= (features | ~NETIF_F_LRO); in macvlan_fix_features()
Dvirtio_net.c2532 if ((dev->features ^ features) & NETIF_F_LRO) { in virtnet_set_features()
2536 if (features & NETIF_F_LRO) in virtnet_set_features()
3015 dev->features |= NETIF_F_LRO; in virtnet_probe()
3017 dev->hw_features |= NETIF_F_LRO; in virtnet_probe()
Dtap.c119 #define RX_OFFLOADS (NETIF_F_GRO | NETIF_F_LRO)
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c46 NETIF_F_LRO | \
/Linux-v5.10/net/ethtool/
Dioctl.c264 #define ETH_ALL_FEATURES (NETIF_F_LRO | NETIF_F_HW_VLAN_CTAG_RX | \
272 if (dev->features & NETIF_F_LRO) in __ethtool_get_flags()
294 features |= NETIF_F_LRO; in __ethtool_set_flags()
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c9695 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9699 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9701 if (adapter->xdp_prog && (features & NETIF_F_LRO)) { in ixgbe_fix_features()
9703 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9733 if (!(features & NETIF_F_LRO)) { in ixgbe_set_features()
9743 } else if ((changed ^ features) & NETIF_F_LRO) { in ixgbe_set_features()
10889 netdev->hw_features |= NETIF_F_LRO; in ixgbe_probe()
10891 netdev->features |= NETIF_F_LRO; in ixgbe_probe()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c3890 err |= MLX5E_HANDLE_FEATURE(NETIF_F_LRO, set_feature_lro); in mlx5e_set_features()
3929 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
3931 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
4915 netdev->vlan_features |= NETIF_F_LRO; in mlx5e_build_nic_netdev()
4976 netdev->features &= ~NETIF_F_LRO; in mlx5e_build_nic_netdev()
/Linux-v5.10/drivers/net/team/
Dteam.c979 NETIF_F_HIGHDMA | NETIF_F_LRO)
1231 if (!(dev->features & NETIF_F_LRO)) in team_port_add()

12