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()
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()1072 NETIF_F_HW_TC; in ocelot_probe_port()1073 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
740 ndev->features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()741 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
1728 if (changed & NETIF_F_HW_TC) in enetc_set_features()1729 err = enetc_set_psfp(ndev, !!(features & NETIF_F_HW_TC)); in enetc_set_features()
643 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
53 NETIF_F_HW_TC, \
2044 bp->dev->hw_features |= NETIF_F_HW_TC; in bnxt_init_tc()2045 bp->dev->features |= NETIF_F_HW_TC; in bnxt_init_tc()
1780 slave_dev->features = master->vlan_features | NETIF_F_HW_TC; in dsa_slave_create()1783 slave_dev->hw_features |= NETIF_F_HW_TC; in dsa_slave_create()
741 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev()
3894 err |= MLX5E_HANDLE_FEATURE(NETIF_F_HW_TC, set_feature_tc_num_filters); in mlx5e_set_features()4994 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_nic_netdev()
5174 !(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, \
1878 NETIF_F_HW_TC; in am65_cpsw_nuss_init_ndev_2g()
805 NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_HW_TC; in qede_init_ndev()
3528 hw_features |= NETIF_F_HW_TC; in iavf_process_config()
4015 NETIF_F_LLTX | NETIF_F_HW_TC; in dpaa2_eth_netdev_init()
5086 netdev->features |= NETIF_F_HW_TC; in igc_probe()
9753 if ((features & NETIF_F_NTUPLE) || (features & NETIF_F_HW_TC)) { in ixgbe_set_features()10836 NETIF_F_HW_TC; in ixgbe_probe()
4931 ndev->hw_features |= NETIF_F_HW_TC; in stmmac_dvr_probe()