Searched refs:NETIF_F_HW_TC (Results 1 – 25 of 28) sorted by relevance
12
44 return (dev->features & NETIF_F_HW_TC) && adap->tc_u32 ? true : false; in can_tc_u32_offload()
6837 NETIF_F_HW_TC | NETIF_F_NTUPLE; in init_one()
69 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in nfp_port_set_features()
249 features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_HW_TC); in nfp_repr_fix_features()389 netdev->features |= NETIF_F_HW_TC; in nfp_repr_init()390 netdev->hw_features |= NETIF_F_HW_TC; in nfp_repr_init()
3976 netdev->hw_features |= NETIF_F_HW_TC; in nfp_net_netdev_init()
230 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC)) in nsim_set_features()281 dev->hw_features |= NETIF_F_HW_TC; in nsim_setup()
594 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in ocelot_set_features()1070 NETIF_F_HW_TC; in ocelot_probe_port()1071 dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in ocelot_probe_port()
149 #define NETIF_F_HW_TC __NETIF_F(HW_TC) macro
676 if (changed & NETIF_F_HW_TC) { in enetc_pf_set_features()677 err = enetc_set_psfp(ndev, !!(features & NETIF_F_HW_TC)); in enetc_pf_set_features()753 ndev->features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()754 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
643 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
53 NETIF_F_HW_TC, \
2041 bp->dev->hw_features |= NETIF_F_HW_TC; in bnxt_init_tc()2042 bp->dev->features |= NETIF_F_HW_TC; in bnxt_init_tc()
1815 slave_dev->features = master->vlan_features | NETIF_F_HW_TC; in dsa_slave_create()1818 slave_dev->hw_features |= NETIF_F_HW_TC; in dsa_slave_create()
744 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev()
3971 err |= MLX5E_HANDLE_FEATURE(NETIF_F_HW_TC, set_feature_tc_num_filters); in mlx5e_set_features()5099 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_nic_netdev()
5280 !(priv->netdev->features & NETIF_F_HW_TC)) in mlx5e_tc_netdev_event()
1070 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_HW_TC, in mlxsw_sp_set_features()1469 NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in mlxsw_sp_port_create()1470 dev->hw_features |= NETIF_F_HW_TC | NETIF_F_LOOPBACK; in mlxsw_sp_port_create()
52 NETIF_F_HW_TC, \
1859 NETIF_F_HW_TC; in am65_cpsw_nuss_init_ndev_2g()
812 NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_HW_TC; in qede_init_ndev()
3590 hw_features |= NETIF_F_HW_TC; in iavf_process_config()
4025 NETIF_F_LLTX | NETIF_F_HW_TC; in dpaa2_eth_netdev_init()
9797 if ((features & NETIF_F_NTUPLE) || (features & NETIF_F_HW_TC)) { in ixgbe_set_features()10888 NETIF_F_HW_TC; in ixgbe_probe()
5263 netdev->features |= NETIF_F_HW_TC; in igc_probe()
5069 ndev->hw_features |= NETIF_F_HW_TC; in stmmac_dvr_probe()