/Linux-v5.4/include/net/ |
D | net_failover.h | 35 NETIF_F_HIGHDMA | NETIF_F_LRO)
|
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/ |
D | lio_vf_main.c | 1795 if ((request & NETIF_F_LRO) && !(lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features() 1796 request &= ~NETIF_F_LRO; in liquidio_fix_features() 1799 if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && in liquidio_fix_features() 1800 (lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features() 1801 request &= ~NETIF_F_LRO; in liquidio_fix_features() 1815 if (!((netdev->features ^ features) & NETIF_F_LRO)) in liquidio_set_features() 1818 if ((features & NETIF_F_LRO) && (lio->dev_capability & NETIF_F_LRO)) in liquidio_set_features() 1821 else if (!(features & NETIF_F_LRO) && in liquidio_set_features() 1822 (lio->dev_capability & NETIF_F_LRO)) in liquidio_set_features() 2083 | NETIF_F_LRO; in setup_nic_devices() [all …]
|
D | lio_main.c | 2731 if ((request & NETIF_F_LRO) && !(lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features() 2732 request &= ~NETIF_F_LRO; in liquidio_fix_features() 2735 if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && in liquidio_fix_features() 2736 (lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features() 2737 request &= ~NETIF_F_LRO; in liquidio_fix_features() 2755 if ((features & NETIF_F_LRO) && in liquidio_set_features() 2756 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features() 2757 !(netdev->features & NETIF_F_LRO)) in liquidio_set_features() 2760 else if (!(features & NETIF_F_LRO) && in liquidio_set_features() 2761 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features() [all …]
|
/Linux-v5.4/include/linux/ |
D | netdev_features.h | 115 #define NETIF_F_LRO __NETIF_F(LRO) macro 224 #define NETIF_F_UPPER_DISABLES NETIF_F_LRO
|
/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_main.c | 142 if (aq_cfg->aq_hw_caps->hw_features & NETIF_F_LRO) { in aq_ndev_set_features() 143 is_lro = features & NETIF_F_LRO; in aq_ndev_set_features()
|
D | aq_nic.c | 292 NETIF_F_LRO | NETIF_F_TSO; in aq_nic_ndev_init()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | tls.c | 215 netdev->features &= ~NETIF_F_LRO; in mlx5e_tls_build_netdev() 216 netdev->hw_features &= ~NETIF_F_LRO; in mlx5e_tls_build_netdev()
|
/Linux-v5.4/drivers/net/ethernet/huawei/hinic/ |
D | hinic_main.c | 819 features &= ~NETIF_F_LRO; in hinic_fix_features() 845 NETIF_F_RXCSUM | NETIF_F_LRO | in netdev_features_init() 919 if (changed & NETIF_F_LRO) { in set_features() 921 !!(features & NETIF_F_LRO), in set_features()
|
/Linux-v5.4/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 1953 if (!(features & NETIF_F_LRO)) { in mtk_fix_features() 1960 features |= NETIF_F_LRO; in mtk_fix_features() 1971 if (!((dev->features ^ features) & NETIF_F_LRO)) in mtk_set_features() 1974 if (!(features & NETIF_F_LRO)) in mtk_set_features() 2676 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc() 2682 if (dev->hw_features & NETIF_F_LRO) { in mtk_get_rxnfc() 2690 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc() 2694 if (dev->hw_features & NETIF_F_LRO) in mtk_get_rxnfc() 2711 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc() 2715 if (dev->hw_features & NETIF_F_LRO) in mtk_set_rxnfc() [all …]
|
/Linux-v5.4/drivers/net/vmxnet3/ |
D | vmxnet3_ethtool.c | 265 features &= ~NETIF_F_LRO; in vmxnet3_fix_features() 276 if (changed & (NETIF_F_RXCSUM | NETIF_F_LRO | in vmxnet3_set_features() 286 if (features & NETIF_F_LRO) in vmxnet3_set_features()
|
D | vmxnet3_drv.c | 1501 !(adapter->netdev->features & NETIF_F_LRO)) in vmxnet3_rq_rx_complete() 1532 if (adapter->netdev->features & NETIF_F_LRO) in vmxnet3_rq_rx_complete() 2428 if (adapter->netdev->features & NETIF_F_LRO) { in vmxnet3_setup_driver_shared() 3044 NETIF_F_LRO; in vmxnet3_declare_features()
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 1082 features &= ~NETIF_F_LRO; in qlcnic_fix_features() 1092 int hw_lro = (features & NETIF_F_LRO) ? QLCNIC_LRO_ENABLED : 0; in qlcnic_set_features() 1094 if (!(changed & NETIF_F_LRO)) in qlcnic_set_features() 1097 netdev->features ^= NETIF_F_LRO; in qlcnic_set_features()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.c | 308 bp->dev->hw_features |= NETIF_F_LRO; in bnxt_xdp_set()
|
D | bnxt.c | 3407 if (bp->dev->features & NETIF_F_LRO) in bnxt_set_tpa_flags() 5982 bp->dev->hw_features &= ~NETIF_F_LRO; in __bnxt_reserve_rings() 5983 bp->dev->features &= ~NETIF_F_LRO; in __bnxt_reserve_rings() 9755 features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_fix_features() 9761 features &= ~NETIF_F_LRO; in bnxt_fix_features() 9798 else if (features & NETIF_F_LRO) in bnxt_set_features() 11467 bp->dev->hw_features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_get_dflt_rings() 11468 bp->dev->features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_get_dflt_rings() 11721 dev->hw_features |= NETIF_F_LRO; in bnxt_init_one() 11738 dev->features &= ~NETIF_F_LRO; in bnxt_init_one()
|
/Linux-v5.4/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() 1126 if (netdev->features & NETIF_F_LRO) in __netxen_nic_up() 1370 netdev->hw_features |= NETIF_F_LRO; in netxen_setup_netdev()
|
/Linux-v5.4/drivers/net/ |
D | macvlan.c | 863 NETIF_F_GSO | NETIF_F_TSO | NETIF_F_LRO | \ 880 dev->hw_features |= NETIF_F_LRO; in macvlan_init() 1062 lowerdev_features &= (features | ~NETIF_F_LRO); in macvlan_fix_features()
|
D | virtio_net.c | 2566 if ((dev->features ^ features) & NETIF_F_LRO) { in virtnet_set_features() 2570 if (features & NETIF_F_LRO) in virtnet_set_features() 3049 dev->features |= NETIF_F_LRO; in virtnet_probe() 3051 dev->hw_features |= NETIF_F_LRO; in virtnet_probe()
|
/Linux-v5.4/drivers/net/hyperv/ |
D | netvsc_drv.c | 1076 dev->features = NETIF_F_LRO; in netvsc_init_settings() 1802 if (!(change & NETIF_F_LRO)) in netvsc_set_features() 1807 if (features & NETIF_F_LRO) { in netvsc_set_features() 1818 features ^= NETIF_F_LRO; in netvsc_set_features()
|
D | rndis_filter.c | 1255 net->hw_features |= NETIF_F_LRO; in rndis_netdev_set_hwcaps() 1257 if (net->features & NETIF_F_LRO) { in rndis_netdev_set_hwcaps()
|
D | hyperv_net.h | 826 NETIF_F_TSO6 | NETIF_F_LRO | NETIF_F_SG)
|
/Linux-v5.4/net/core/ |
D | ethtool.c | 334 #define ETH_ALL_FEATURES (NETIF_F_LRO | NETIF_F_HW_VLAN_CTAG_RX | \ 342 if (dev->features & NETIF_F_LRO) in __ethtool_get_flags() 364 features |= NETIF_F_LRO; in __ethtool_set_flags()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_main.c | 3794 err |= MLX5E_HANDLE_FEATURE(NETIF_F_LRO, set_feature_lro); in mlx5e_set_features() 3832 if (features & NETIF_F_LRO) { in mlx5e_fix_features() 3834 features &= ~NETIF_F_LRO; in mlx5e_fix_features() 4887 netdev->vlan_features |= NETIF_F_LRO; in mlx5e_build_nic_netdev() 4944 netdev->features &= ~NETIF_F_LRO; in mlx5e_build_nic_netdev()
|
/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_b0.c | 41 NETIF_F_LRO | \
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 9671 features &= ~NETIF_F_LRO; in ixgbe_fix_features() 9675 features &= ~NETIF_F_LRO; in ixgbe_fix_features() 9677 if (adapter->xdp_prog && (features & NETIF_F_LRO)) { in ixgbe_fix_features() 9679 features &= ~NETIF_F_LRO; in ixgbe_fix_features() 9709 if (!(features & NETIF_F_LRO)) { in ixgbe_set_features() 9719 } else if ((changed ^ features) & NETIF_F_LRO) { in ixgbe_set_features() 10982 netdev->hw_features |= NETIF_F_LRO; in ixgbe_probe() 10984 netdev->features |= NETIF_F_LRO; in ixgbe_probe()
|
/Linux-v5.4/drivers/net/ethernet/xilinx/ |
D | ll_temac_main.c | 1178 ndev->features |= NETIF_F_LRO; /* large receive offload */ in temac_probe()
|