/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_main.c | 103 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()
|
D | aq_nic.c | 251 NETIF_F_RXHASH | NETIF_F_SG | NETIF_F_LRO; in aq_nic_ndev_init()
|
/Linux-v4.19/include/linux/ |
D | netdev_features.h | 118 #define NETIF_F_LRO __NETIF_F(LRO) macro 209 #define NETIF_F_UPPER_DISABLES NETIF_F_LRO
|
/Linux-v4.19/include/net/ |
D | net_failover.h | 35 NETIF_F_HIGHDMA | NETIF_F_LRO)
|
/Linux-v4.19/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() 2081 | NETIF_F_LRO; in setup_nic_devices() [all …]
|
D | lio_main.c | 2735 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/ |
D | tls.c | 204 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/ |
D | mtk_eth_soc.c | 1618 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/ |
D | bnxt_xdp.c | 196 bp->dev->hw_features |= NETIF_F_LRO; in bnxt_xdp_set()
|
D | bnxt.c | 2804 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/ |
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-v4.19/drivers/net/vmxnet3/ |
D | vmxnet3_ethtool.c | 266 if (changed & (NETIF_F_RXCSUM | NETIF_F_LRO | in vmxnet3_set_features() 276 if (features & NETIF_F_LRO) in vmxnet3_set_features()
|
D | vmxnet3_drv.c | 1502 !(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/ |
D | netxen_nic_main.c | 542 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/ |
D | macvlan.c | 839 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()
|
D | tap.c | 118 #define RX_OFFLOADS (NETIF_F_GRO | NETIF_F_LRO)
|
/Linux-v4.19/net/core/ |
D | ethtool.c | 333 #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()
|
D | dev.c | 1545 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/ |
D | hw_atl_b0.c | 44 NETIF_F_LRO, \
|
/Linux-v4.19/drivers/net/ethernet/xilinx/ |
D | ll_temac_main.c | 1010 ndev->features |= NETIF_F_LRO; /* large receive offload */ in temac_of_probe()
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 9556 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/ |
D | en_main.c | 3676 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/ |
D | team.c | 995 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/ |
D | bnx2x_cmn.c | 2491 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/ |
D | s2io.c | 6568 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()
|