| /OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/liquidio/ |
| H A 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() 2101 | NETIF_F_LRO; in setup_nic_devices() [all …]
|
| H A D | lio_main.c | 2756 if ((request & NETIF_F_LRO) && !(lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features() 2757 request &= ~NETIF_F_LRO; in liquidio_fix_features() 2760 if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && in liquidio_fix_features() 2761 (lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features() 2762 request &= ~NETIF_F_LRO; in liquidio_fix_features() 2781 if ((features & NETIF_F_LRO) && in liquidio_set_features() 2782 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features() 2783 !(netdev->features & NETIF_F_LRO)) in liquidio_set_features() 2786 else if (!(features & NETIF_F_LRO) && in liquidio_set_features() 2787 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | netdev_features.h | 119 #define NETIF_F_LRO __NETIF_F(LRO) macro 231 #define NETIF_F_UPPER_DISABLES NETIF_F_LRO
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | net_failover.h | 35 NETIF_F_HIGHDMA | NETIF_F_LRO)
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_main.c | 169 if (aq_cfg->aq_hw_caps->hw_features & NETIF_F_LRO) { in aq_ndev_set_features() 170 is_lro = features & NETIF_F_LRO; in aq_ndev_set_features()
|
| /OK3568_Linux_fs/kernel/drivers/net/vmxnet3/ |
| H A D | vmxnet3_ethtool.c | 269 features &= ~NETIF_F_LRO; in vmxnet3_fix_features() 324 NETIF_F_LRO | NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_enable_encap_offloads() 337 NETIF_F_LRO | NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_disable_encap_offloads() 351 if (changed & (NETIF_F_RXCSUM | NETIF_F_LRO | in vmxnet3_set_features() 361 if (features & NETIF_F_LRO) in vmxnet3_set_features()
|
| H A D | vmxnet3_drv.c | 1580 !(adapter->netdev->features & NETIF_F_LRO)) in vmxnet3_rq_rx_complete() 1611 if (adapter->netdev->features & NETIF_F_LRO) in vmxnet3_rq_rx_complete() 2512 if (adapter->netdev->features & NETIF_F_LRO) { in vmxnet3_setup_driver_shared() 3166 NETIF_F_LRO; in vmxnet3_declare_features() 3175 NETIF_F_LRO | NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_declare_features()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_main.c | 881 features &= ~NETIF_F_LRO; in hinic_fix_features() 930 NETIF_F_RXCSUM | NETIF_F_LRO | in netdev_features_init() 1083 if (changed & NETIF_F_LRO) { in set_features() 1085 !!(features & NETIF_F_LRO), in set_features() 1090 failed_features |= NETIF_F_LRO; in set_features()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 2029 if (!(features & NETIF_F_LRO)) { in mtk_fix_features() 2036 features |= NETIF_F_LRO; in mtk_fix_features() 2047 if (!((dev->features ^ features) & NETIF_F_LRO)) in mtk_set_features() 2050 if (!(features & NETIF_F_LRO)) in mtk_set_features() 2769 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc() 2775 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc() 2783 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc() 2787 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc() 2804 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc() 2808 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/hyperv/ |
| H A D | netvsc_bpf.c | 115 if (prog && (dev->features & NETIF_F_LRO)) { in netvsc_xdp_set()
|
| H A D | netvsc_drv.c | 1184 dev->features = NETIF_F_LRO; in netvsc_init_settings() 1921 if ((features & NETIF_F_LRO) && netvsc_xdp_get(nvdev)) { in netvsc_fix_features() 1922 features ^= NETIF_F_LRO; in netvsc_fix_features() 1942 if (!(change & NETIF_F_LRO)) in netvsc_set_features() 1947 if (features & NETIF_F_LRO) { in netvsc_set_features() 1958 features ^= NETIF_F_LRO; in netvsc_set_features()
|
| H A D | rndis_filter.c | 1319 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps() 1321 if (net->features & NETIF_F_LRO) { in rndis_netdev_set_hwcaps()
|
| H A D | hyperv_net.h | 838 NETIF_F_TSO6 | NETIF_F_LRO | \
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_hw.c | 1081 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_xdp.c | 309 bp->dev->hw_features |= NETIF_F_LRO; in bnxt_xdp_set()
|
| H A D | bnxt.c | 3554 if (bp->dev->features & NETIF_F_LRO) in bnxt_set_tpa_flags() 6354 bp->dev->hw_features &= ~NETIF_F_LRO; in __bnxt_reserve_rings() 6355 bp->dev->features &= ~NETIF_F_LRO; in __bnxt_reserve_rings() 10506 features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_fix_features() 10512 features &= ~NETIF_F_LRO; in bnxt_fix_features() 10543 else if (features & NETIF_F_LRO) in bnxt_set_features() 12374 bp->dev->hw_features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_get_dflt_rings() 12375 bp->dev->features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_get_dflt_rings() 12719 dev->hw_features |= NETIF_F_LRO; in bnxt_init_one() 12740 dev->features &= ~NETIF_F_LRO; in bnxt_init_one()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/netxen/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ |
| H A D | macvlan.c | 873 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()
|
| H A D | tap.c | 119 #define RX_OFFLOADS (NETIF_F_GRO | NETIF_F_LRO)
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_main.c | 3967 err |= MLX5E_HANDLE_FEATURE(NETIF_F_LRO, set_feature_lro); in mlx5e_set_features() 4006 if (features & NETIF_F_LRO) { in mlx5e_fix_features() 4008 features &= ~NETIF_F_LRO; in mlx5e_fix_features() 4013 if (features & NETIF_F_LRO) { in mlx5e_fix_features() 4015 features &= ~NETIF_F_LRO; in mlx5e_fix_features() 5020 netdev->vlan_features |= NETIF_F_LRO; in mlx5e_build_nic_netdev() 5081 netdev->features &= ~NETIF_F_LRO; in mlx5e_build_nic_netdev()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
| H A D | hw_atl2.c | 46 NETIF_F_LRO | \
|
| /OK3568_Linux_fs/kernel/net/ethtool/ |
| H A D | ioctl.c | 265 #define ETH_ALL_FEATURES (NETIF_F_LRO | NETIF_F_HW_VLAN_CTAG_RX | \ 273 if (dev->features & NETIF_F_LRO) in __ethtool_get_flags() 295 features |= NETIF_F_LRO; in __ethtool_set_flags()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_main.c | 9710 features &= ~NETIF_F_LRO; in ixgbe_fix_features() 9714 features &= ~NETIF_F_LRO; in ixgbe_fix_features() 9716 if (adapter->xdp_prog && (features & NETIF_F_LRO)) { in ixgbe_fix_features() 9718 features &= ~NETIF_F_LRO; in ixgbe_fix_features() 9748 if (!(features & NETIF_F_LRO)) { in ixgbe_set_features() 9758 } else if ((changed ^ features) & NETIF_F_LRO) { in ixgbe_set_features() 10908 netdev->hw_features |= NETIF_F_LRO; in ixgbe_probe() 10910 netdev->features |= NETIF_F_LRO; in ixgbe_probe()
|
| /OK3568_Linux_fs/kernel/drivers/net/team/ |
| H A D | team.c | 979 NETIF_F_HIGHDMA | NETIF_F_LRO) 1231 if (!(dev->features & NETIF_F_LRO)) in team_port_add()
|