Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/
Daq_main.c184 if (aq_cfg->aq_hw_caps->hw_features & NETIF_F_LRO) { in aq_ndev_set_features()
185 is_lro = features & NETIF_F_LRO; in aq_ndev_set_features()
226 features &= ~NETIF_F_LRO; in aq_ndev_fix_features()
230 aq_nic->xdp_prog && features & NETIF_F_LRO) { in aq_ndev_fix_features()
232 features &= ~NETIF_F_LRO; in aq_ndev_fix_features()
458 if (prog && ndev->features & NETIF_F_LRO) { in aq_xdp_setup()
461 ndev->features &= ~NETIF_F_LRO; in aq_xdp_setup()
/Linux-v6.1/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_main.c1834 if ((request & NETIF_F_LRO) && !(lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
1835 request &= ~NETIF_F_LRO; in liquidio_fix_features()
1838 if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && in liquidio_fix_features()
1839 (lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
1840 request &= ~NETIF_F_LRO; in liquidio_fix_features()
1854 if (!((netdev->features ^ features) & NETIF_F_LRO)) in liquidio_set_features()
1857 if ((features & NETIF_F_LRO) && (lio->dev_capability & NETIF_F_LRO)) in liquidio_set_features()
1860 else if (!(features & NETIF_F_LRO) && in liquidio_set_features()
1861 (lio->dev_capability & NETIF_F_LRO)) in liquidio_set_features()
2096 | NETIF_F_LRO; in setup_nic_devices()
[all …]
Dlio_main.c2749 if ((request & NETIF_F_LRO) && !(lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
2750 request &= ~NETIF_F_LRO; in liquidio_fix_features()
2753 if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && in liquidio_fix_features()
2754 (lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
2755 request &= ~NETIF_F_LRO; in liquidio_fix_features()
2774 if ((features & NETIF_F_LRO) && in liquidio_set_features()
2775 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features()
2776 !(netdev->features & NETIF_F_LRO)) in liquidio_set_features()
2779 else if (!(features & NETIF_F_LRO) && in liquidio_set_features()
2780 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features()
[all …]
/Linux-v6.1/include/net/
Dnet_failover.h35 NETIF_F_HIGHDMA | NETIF_F_LRO)
/Linux-v6.1/include/linux/
Dnetdev_features.h125 #define NETIF_F_LRO __NETIF_F(LRO) macro
242 #define NETIF_F_UPPER_DISABLES NETIF_F_LRO
/Linux-v6.1/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c254 features &= ~NETIF_F_LRO; in vmxnet3_fix_features()
309 NETIF_F_LRO; in vmxnet3_enable_encap_offloads()
370 NETIF_F_LRO | NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_disable_encap_offloads()
400 if (changed & (NETIF_F_RXCSUM | NETIF_F_LRO | in vmxnet3_set_features()
410 if (features & NETIF_F_LRO) in vmxnet3_set_features()
Dvmxnet3_drv.c1652 !(adapter->netdev->features & NETIF_F_LRO)) in vmxnet3_rq_rx_complete()
1683 if (adapter->netdev->features & NETIF_F_LRO) in vmxnet3_rq_rx_complete()
2607 if (adapter->netdev->features & NETIF_F_LRO) { in vmxnet3_setup_driver_shared()
3332 NETIF_F_LRO | NETIF_F_HIGHDMA; in vmxnet3_declare_features()
3341 NETIF_F_LRO | NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_declare_features()
/Linux-v6.1/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-v6.1/drivers/net/hyperv/
Dnetvsc_bpf.c145 if (prog && (dev->features & NETIF_F_LRO)) { in netvsc_xdp_set()
Dnetvsc_drv.c1165 dev->features = NETIF_F_LRO; in netvsc_init_settings()
1910 if ((features & NETIF_F_LRO) && netvsc_xdp_get(nvdev)) { in netvsc_fix_features()
1911 features ^= NETIF_F_LRO; in netvsc_fix_features()
1931 if (!(change & NETIF_F_LRO)) in netvsc_set_features()
1936 if (features & NETIF_F_LRO) { in netvsc_set_features()
1947 features ^= NETIF_F_LRO; in netvsc_set_features()
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()
Dhyperv_net.h878 NETIF_F_TSO6 | NETIF_F_LRO | \
/Linux-v6.1/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-v6.1/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c2714 if (!(features & NETIF_F_LRO)) { in mtk_fix_features()
2721 features |= NETIF_F_LRO; in mtk_fix_features()
2732 if (!((dev->features ^ features) & NETIF_F_LRO)) in mtk_set_features()
2735 if (!(features & NETIF_F_LRO)) in mtk_set_features()
3707 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
3713 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc()
3721 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
3725 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc()
3742 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
3746 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc()
[all …]
/Linux-v6.1/drivers/net/ethernet/google/gve/
Dgve_adminq.c566 !!(priv->dev->features & NETIF_F_LRO); in gve_adminq_create_rx_queue()
768 priv->dev->hw_features |= NETIF_F_LRO; in gve_adminq_describe_device()
Dgve_main.c1186 if ((netdev->features & NETIF_F_LRO) != (features & NETIF_F_LRO)) { in gve_set_features()
1187 netdev->features ^= NETIF_F_LRO; in gve_set_features()
/Linux-v6.1/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c527 features &= ~NETIF_F_LRO; in netxen_fix_features()
539 if (!((dev->features ^ features) & NETIF_F_LRO)) in netxen_set_features()
542 hw_lro = (features & NETIF_F_LRO) ? NETXEN_NIC_LRO_ENABLED in netxen_set_features()
548 if (!(features & NETIF_F_LRO) && netxen_send_lro_cleanup(adapter)) in netxen_set_features()
1122 if (netdev->features & NETIF_F_LRO) in __netxen_nic_up()
1366 netdev->hw_features |= NETIF_F_LRO; in netxen_setup_netdev()
/Linux-v6.1/drivers/net/
Dmacvlan.c879 NETIF_F_GSO | NETIF_F_TSO | NETIF_F_LRO | \
903 dev->hw_features |= NETIF_F_LRO; in macvlan_init()
1089 lowerdev_features &= (features | ~NETIF_F_LRO); in macvlan_fix_features()
Dtap.c119 #define RX_OFFLOADS (NETIF_F_GRO | NETIF_F_LRO)
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c434 bp->dev->hw_features |= NETIF_F_LRO; in bnxt_xdp_set()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c4024 err |= MLX5E_HANDLE_FEATURE(NETIF_F_LRO, set_feature_lro); in mlx5e_set_features()
4088 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
4090 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
4099 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
4101 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
4110 if (features & NETIF_F_LRO) { in mlx5e_fix_features()
4113 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
5078 netdev->vlan_features |= NETIF_F_LRO; in mlx5e_build_nic_netdev()
5141 netdev->features &= ~NETIF_F_LRO; in mlx5e_build_nic_netdev()
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c46 NETIF_F_LRO | \
/Linux-v6.1/net/ethtool/
Dioctl.c291 #define ETH_ALL_FEATURES (NETIF_F_LRO | NETIF_F_HW_VLAN_CTAG_RX | \
299 if (dev->features & NETIF_F_LRO) in __ethtool_get_flags()
321 features |= NETIF_F_LRO; in __ethtool_set_flags()
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c9838 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9842 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9844 if (adapter->xdp_prog && (features & NETIF_F_LRO)) { in ixgbe_fix_features()
9846 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9876 if (!(features & NETIF_F_LRO)) { in ixgbe_set_features()
9886 } else if ((changed ^ features) & NETIF_F_LRO) { in ixgbe_set_features()
11052 netdev->hw_features |= NETIF_F_LRO; in ixgbe_probe()
11054 netdev->features |= NETIF_F_LRO; in ixgbe_probe()
/Linux-v6.1/drivers/net/team/
Dteam.c985 NETIF_F_HIGHDMA | NETIF_F_LRO)
1236 if (!(dev->features & NETIF_F_LRO)) in team_port_add()

12