/Linux-v5.15/drivers/net/ethernet/cavium/liquidio/ |
D | lio_vf_main.c | 1837 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 …]
|
D | lio_main.c | 2738 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/ |
D | net_failover.h | 35 NETIF_F_HIGHDMA | NETIF_F_LRO)
|
/Linux-v5.15/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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | tls.c | 216 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/ |
D | aq_main.c | 172 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/ |
D | vmxnet3_ethtool.c | 254 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()
|
D | vmxnet3_drv.c | 1584 !(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/ |
D | netvsc_bpf.c | 117 if (prog && (dev->features & NETIF_F_LRO)) { in netvsc_xdp_set()
|
D | netvsc_drv.c | 1208 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()
|
D | rndis_filter.c | 1416 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps() 1418 if (net->features & NETIF_F_LRO) { in rndis_netdev_set_hwcaps()
|
D | hyperv_net.h | 873 NETIF_F_TSO6 | NETIF_F_LRO | \
|
/Linux-v5.15/drivers/net/ethernet/huawei/hinic/ |
D | hinic_main.c | 899 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/ |
D | mtk_eth_soc.c | 2027 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/ |
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-v5.15/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.c | 300 bp->dev->hw_features |= NETIF_F_LRO; in bnxt_xdp_set()
|
/Linux-v5.15/drivers/net/ethernet/google/gve/ |
D | gve_adminq.c | 545 !!(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()
|
D | gve_main.c | 1132 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/ |
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-v5.15/drivers/net/ |
D | macvlan.c | 874 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()
|
D | tap.c | 119 #define RX_OFFLOADS (NETIF_F_GRO | NETIF_F_LRO)
|
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
D | hw_atl2.c | 46 NETIF_F_LRO | \
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_main.c | 3460 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/ |
D | ioctl.c | 266 #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/ |
D | ixgbe_main.c | 9692 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()
|