Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/
Daq_main.c103 if (aq_cfg->hw_features & NETIF_F_LRO) { in aq_ndev_set_features()
104 is_lro = features & NETIF_F_LRO; in aq_ndev_set_features()
Daq_nic.c251 NETIF_F_RXHASH | NETIF_F_SG | NETIF_F_LRO; in aq_nic_ndev_init()
/Linux-v4.19/include/linux/
Dnetdev_features.h118 #define NETIF_F_LRO __NETIF_F(LRO) macro
209 #define NETIF_F_UPPER_DISABLES NETIF_F_LRO
/Linux-v4.19/include/net/
Dnet_failover.h35 NETIF_F_HIGHDMA | NETIF_F_LRO)
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_main.c1795 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()
2081 | NETIF_F_LRO; in setup_nic_devices()
[all …]
Dlio_main.c2735 if ((request & NETIF_F_LRO) && !(lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
2736 request &= ~NETIF_F_LRO; in liquidio_fix_features()
2739 if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && in liquidio_fix_features()
2740 (lio->dev_capability & NETIF_F_LRO)) in liquidio_fix_features()
2741 request &= ~NETIF_F_LRO; in liquidio_fix_features()
2759 if ((features & NETIF_F_LRO) && in liquidio_set_features()
2760 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features()
2761 !(netdev->features & NETIF_F_LRO)) in liquidio_set_features()
2764 else if (!(features & NETIF_F_LRO) && in liquidio_set_features()
2765 (lio->dev_capability & NETIF_F_LRO) && in liquidio_set_features()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls.c204 netdev->features &= ~NETIF_F_LRO; in mlx5e_tls_build_netdev()
205 netdev->hw_features &= ~NETIF_F_LRO; in mlx5e_tls_build_netdev()
/Linux-v4.19/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1618 if (!(features & NETIF_F_LRO)) { in mtk_fix_features()
1625 features |= NETIF_F_LRO; in mtk_fix_features()
1636 if (!((dev->features ^ features) & NETIF_F_LRO)) in mtk_set_features()
1639 if (!(features & NETIF_F_LRO)) in mtk_set_features()
2307 if (dev->features & NETIF_F_LRO) { in mtk_get_rxnfc()
2313 if (dev->features & NETIF_F_LRO) { in mtk_get_rxnfc()
2321 if (dev->features & NETIF_F_LRO) in mtk_get_rxnfc()
2325 if (dev->features & NETIF_F_LRO) in mtk_get_rxnfc()
2342 if (dev->features & NETIF_F_LRO) in mtk_set_rxnfc()
2346 if (dev->features & NETIF_F_LRO) in mtk_set_rxnfc()
[all …]
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c196 bp->dev->hw_features |= NETIF_F_LRO; in bnxt_xdp_set()
Dbnxt.c2804 if (bp->dev->features & NETIF_F_LRO) in bnxt_set_tpa_flags()
4834 bp->dev->hw_features &= ~NETIF_F_LRO; in __bnxt_reserve_rings()
4835 bp->dev->features &= ~NETIF_F_LRO; in __bnxt_reserve_rings()
7512 features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_fix_features()
7518 features &= ~NETIF_F_LRO; in bnxt_fix_features()
7555 else if (features & NETIF_F_LRO) in bnxt_set_features()
8666 bp->dev->hw_features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_get_dflt_rings()
8667 bp->dev->features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); in bnxt_get_dflt_rings()
8904 dev->hw_features |= NETIF_F_LRO; in bnxt_init_one()
8921 dev->features &= ~NETIF_F_LRO; in bnxt_init_one()
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c1082 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-v4.19/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c266 if (changed & (NETIF_F_RXCSUM | NETIF_F_LRO | in vmxnet3_set_features()
276 if (features & NETIF_F_LRO) in vmxnet3_set_features()
Dvmxnet3_drv.c1502 !(adapter->netdev->features & NETIF_F_LRO)) in vmxnet3_rq_rx_complete()
1533 if (adapter->netdev->features & NETIF_F_LRO) in vmxnet3_rq_rx_complete()
2429 if (adapter->netdev->features & NETIF_F_LRO) { in vmxnet3_setup_driver_shared()
3045 NETIF_F_LRO; in vmxnet3_declare_features()
/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c542 features &= ~NETIF_F_LRO; in netxen_fix_features()
554 if (!((dev->features ^ features) & NETIF_F_LRO)) in netxen_set_features()
557 hw_lro = (features & NETIF_F_LRO) ? NETXEN_NIC_LRO_ENABLED in netxen_set_features()
563 if (!(features & NETIF_F_LRO) && netxen_send_lro_cleanup(adapter)) in netxen_set_features()
1142 if (netdev->features & NETIF_F_LRO) in __netxen_nic_up()
1386 netdev->hw_features |= NETIF_F_LRO; in netxen_setup_netdev()
/Linux-v4.19/drivers/net/
Dmacvlan.c839 NETIF_F_GSO | NETIF_F_TSO | NETIF_F_LRO | \
869 dev->hw_features |= NETIF_F_LRO; in macvlan_init()
1032 lowerdev_features &= (features | ~NETIF_F_LRO); in macvlan_fix_features()
Dtap.c118 #define RX_OFFLOADS (NETIF_F_GRO | NETIF_F_LRO)
/Linux-v4.19/net/core/
Dethtool.c333 #define ETH_ALL_FEATURES (NETIF_F_LRO | NETIF_F_HW_VLAN_CTAG_RX | \
341 if (dev->features & NETIF_F_LRO) in __ethtool_get_flags()
363 features |= NETIF_F_LRO; in __ethtool_set_flags()
Ddev.c1545 dev->wanted_features &= ~NETIF_F_LRO; in dev_disable_lro()
1548 if (unlikely(dev->features & NETIF_F_LRO)) in dev_disable_lro()
8129 if (features & NETIF_F_LRO) { in netdev_fix_features()
8131 features &= ~NETIF_F_LRO; in netdev_fix_features()
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c44 NETIF_F_LRO, \
/Linux-v4.19/drivers/net/ethernet/xilinx/
Dll_temac_main.c1010 ndev->features |= NETIF_F_LRO; /* large receive offload */ in temac_of_probe()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c9556 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9560 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9562 if (adapter->xdp_prog && (features & NETIF_F_LRO)) { in ixgbe_fix_features()
9564 features &= ~NETIF_F_LRO; in ixgbe_fix_features()
9594 if (!(features & NETIF_F_LRO)) { in ixgbe_set_features()
9604 } else if ((changed ^ features) & NETIF_F_LRO) { in ixgbe_set_features()
10692 netdev->hw_features |= NETIF_F_LRO; in ixgbe_probe()
10694 netdev->features |= NETIF_F_LRO; in ixgbe_probe()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c3676 err |= MLX5E_HANDLE_FEATURE(NETIF_F_LRO, set_feature_lro); in mlx5e_set_features()
3712 features &= ~NETIF_F_LRO; in mlx5e_fix_features()
4627 netdev->vlan_features |= NETIF_F_LRO; in mlx5e_build_nic_netdev()
4675 netdev->features &= ~NETIF_F_LRO; in mlx5e_build_nic_netdev()
/Linux-v4.19/drivers/net/team/
Dteam.c995 NETIF_F_HIGHDMA | NETIF_F_LRO)
1241 if (!(dev->features & NETIF_F_LRO)) in team_port_add()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c2491 if (bp->dev->features & NETIF_F_LRO) in bnx2x_bz_fp()
4919 features &= ~NETIF_F_LRO; in bnx2x_fix_features()
4924 features &= ~NETIF_F_LRO; in bnx2x_fix_features()
/Linux-v4.19/drivers/net/ethernet/neterion/
Ds2io.c6568 netdev_features_t changed = (features ^ dev->features) & NETIF_F_LRO; in s2io_set_features()
7124 ring->lro = !!(dev->features & NETIF_F_LRO); in s2io_card_up()
7158 if (dev->features & NETIF_F_LRO) { in s2io_card_up()
7869 NETIF_F_RXCSUM | NETIF_F_LRO; in s2io_init_nic()

12