/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_main.c | 184 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/ |
D | lio_vf_main.c | 1834 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 …]
|
D | lio_main.c | 2749 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/ |
D | net_failover.h | 35 NETIF_F_HIGHDMA | NETIF_F_LRO)
|
/Linux-v6.1/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-v6.1/drivers/net/vmxnet3/ |
D | vmxnet3_ethtool.c | 254 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()
|
D | vmxnet3_drv.c | 1652 !(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/ |
D | hinic_main.c | 874 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/ |
D | netvsc_bpf.c | 145 if (prog && (dev->features & NETIF_F_LRO)) { in netvsc_xdp_set()
|
D | netvsc_drv.c | 1165 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()
|
D | rndis_filter.c | 1420 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps() 1422 if (net->features & NETIF_F_LRO) { in rndis_netdev_set_hwcaps()
|
D | hyperv_net.h | 878 NETIF_F_TSO6 | NETIF_F_LRO | \
|
/Linux-v6.1/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-v6.1/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 2714 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/ |
D | gve_adminq.c | 566 !!(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()
|
D | gve_main.c | 1186 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/ |
D | netxen_nic_main.c | 527 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/ |
D | macvlan.c | 879 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()
|
D | tap.c | 119 #define RX_OFFLOADS (NETIF_F_GRO | NETIF_F_LRO)
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.c | 434 bp->dev->hw_features |= NETIF_F_LRO; in bnxt_xdp_set()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_main.c | 4024 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/ |
D | hw_atl2.c | 46 NETIF_F_LRO | \
|
/Linux-v6.1/net/ethtool/ |
D | ioctl.c | 291 #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/ |
D | ixgbe_main.c | 9838 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/ |
D | team.c | 985 NETIF_F_HIGHDMA | NETIF_F_LRO) 1236 if (!(dev->features & NETIF_F_LRO)) in team_port_add()
|