Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_main.c1837 if ((request & NETIF_F_LRO) && !(lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
1838 request &= ~NETIF_F_LRO; in liquidio_fix_features()
1841 if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && in liquidio_fix_features()
1842 (lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
1843 request &= ~NETIF_F_LRO; in liquidio_fix_features()
1857 if (!((netdev->features ^ features) & NETIF_F_LRO)) in liquidio_set_features()
1860 if ((features & NETIF_F_LRO) && (lio->dev_capability & NETIF_F_LRO)) in liquidio_set_features()
1863 else if (!(features & NETIF_F_LRO) && in liquidio_set_features()
1864 (lio->dev_capability & NETIF_F_LRO)) in liquidio_set_features()
2099 | NETIF_F_LRO; in setup_nic_devices()
[all …]
Dlio_main.c2738 if ((request & NETIF_F_LRO) && !(lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
2739 request &= ~NETIF_F_LRO; in liquidio_fix_features()
2742 if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && in liquidio_fix_features()
2743 (lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
2744 request &= ~NETIF_F_LRO; in liquidio_fix_features()
2763 if ((features & NETIF_F_LRO) && in liquidio_set_features()
2764 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features()
2765 !(netdev->features & NETIF_F_LRO)) in liquidio_set_features()
2768 else if (!(features & NETIF_F_LRO) && in liquidio_set_features()
2769 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features()
[all …]
/Linux-v5.15/include/net/
Dnet_failover.h35 NETIF_F_HIGHDMA | NETIF_F_LRO)
/Linux-v5.15/include/linux/
Dnetdev_features.h125 #define NETIF_F_LRO __NETIF_F(LRO) macro
242 #define NETIF_F_UPPER_DISABLES NETIF_F_LRO
/Linux-v5.15/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.15/drivers/net/ethernet/aquantia/atlantic/
Daq_main.c172 if (aq_cfg->aq_hw_caps->hw_features & NETIF_F_LRO) { in aq_ndev_set_features()
173 is_lro = features & NETIF_F_LRO; in aq_ndev_set_features()
/Linux-v5.15/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c254 features &= ~NETIF_F_LRO; in vmxnet3_fix_features()
309 NETIF_F_LRO | NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_enable_encap_offloads()
322 NETIF_F_LRO | NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_disable_encap_offloads()
336 if (changed & (NETIF_F_RXCSUM | NETIF_F_LRO | in vmxnet3_set_features()
346 if (features & NETIF_F_LRO) in vmxnet3_set_features()
Dvmxnet3_drv.c1584 !(adapter->netdev->features & NETIF_F_LRO)) in vmxnet3_rq_rx_complete()
1615 if (adapter->netdev->features & NETIF_F_LRO) in vmxnet3_rq_rx_complete()
2507 if (adapter->netdev->features & NETIF_F_LRO) { in vmxnet3_setup_driver_shared()
3169 NETIF_F_LRO; in vmxnet3_declare_features()
3178 NETIF_F_LRO | NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_declare_features()
/Linux-v5.15/drivers/net/hyperv/
Dnetvsc_bpf.c117 if (prog && (dev->features & NETIF_F_LRO)) { in netvsc_xdp_set()
Dnetvsc_drv.c1208 dev->features = NETIF_F_LRO; in netvsc_init_settings()
1931 if ((features & NETIF_F_LRO) && netvsc_xdp_get(nvdev)) { in netvsc_fix_features()
1932 features ^= NETIF_F_LRO; in netvsc_fix_features()
1952 if (!(change & NETIF_F_LRO)) in netvsc_set_features()
1957 if (features & NETIF_F_LRO) { in netvsc_set_features()
1968 features ^= NETIF_F_LRO; in netvsc_set_features()
Drndis_filter.c1416 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps()
1418 if (net->features & NETIF_F_LRO) { in rndis_netdev_set_hwcaps()
Dhyperv_net.h873 NETIF_F_TSO6 | NETIF_F_LRO | \
/Linux-v5.15/drivers/net/ethernet/huawei/hinic/
Dhinic_main.c899 features &= ~NETIF_F_LRO; in hinic_fix_features()
948 NETIF_F_RXCSUM | NETIF_F_LRO | in netdev_features_init()
1101 if (changed & NETIF_F_LRO) { in set_features()
1103 !!(features & NETIF_F_LRO), in set_features()
1108 failed_features |= NETIF_F_LRO; in set_features()
/Linux-v5.15/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c2027 if (!(features & NETIF_F_LRO)) { in mtk_fix_features()
2034 features |= NETIF_F_LRO; in mtk_fix_features()
2045 if (!((dev->features ^ features) & NETIF_F_LRO)) in mtk_set_features()
2048 if (!(features & NETIF_F_LRO)) in mtk_set_features()
2864 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
2870 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
2878 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
2882 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
2899 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
2903 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
[all …]
/Linux-v5.15/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-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c300 bp->dev->hw_features |= NETIF_F_LRO; in bnxt_xdp_set()
/Linux-v5.15/drivers/net/ethernet/google/gve/
Dgve_adminq.c545 !!(priv->dev->features & NETIF_F_LRO); in gve_adminq_create_rx_queue()
720 priv->dev->hw_features |= NETIF_F_LRO; in gve_adminq_describe_device()
Dgve_main.c1132 if ((netdev->features & NETIF_F_LRO) != (features & NETIF_F_LRO)) { in gve_set_features()
1133 netdev->features ^= NETIF_F_LRO; in gve_set_features()
/Linux-v5.15/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-v5.15/drivers/net/
Dmacvlan.c874 NETIF_F_GSO | NETIF_F_TSO | NETIF_F_LRO | \
898 dev->hw_features |= NETIF_F_LRO; in macvlan_init()
1081 lowerdev_features &= (features | ~NETIF_F_LRO); in macvlan_fix_features()
Dtap.c119 #define RX_OFFLOADS (NETIF_F_GRO | NETIF_F_LRO)
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c46 NETIF_F_LRO | \
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c3460 err |= MLX5E_HANDLE_FEATURE(NETIF_F_LRO, set_feature_lro); in mlx5e_set_features()
3517 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
3519 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
4449 netdev->vlan_features |= NETIF_F_LRO; in mlx5e_build_nic_netdev()
4506 netdev->features &= ~NETIF_F_LRO; in mlx5e_build_nic_netdev()
/Linux-v5.15/net/ethtool/
Dioctl.c266 #define ETH_ALL_FEATURES (NETIF_F_LRO | NETIF_F_HW_VLAN_CTAG_RX | \
274 if (dev->features & NETIF_F_LRO) in __ethtool_get_flags()
296 features |= NETIF_F_LRO; in __ethtool_set_flags()
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c9692 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9696 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9698 if (adapter->xdp_prog && (features & NETIF_F_LRO)) { in ixgbe_fix_features()
9700 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9730 if (!(features & NETIF_F_LRO)) { in ixgbe_set_features()
9740 } else if ((changed ^ features) & NETIF_F_LRO) { in ixgbe_set_features()
10887 netdev->hw_features |= NETIF_F_LRO; in ixgbe_probe()
10889 netdev->features |= NETIF_F_LRO; in ixgbe_probe()

12