/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_u32.h | 44 return (dev->features & NETIF_F_HW_TC) && adap->tc_u32 ? true : false; in can_tc_u32_offload()
|
/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_port.c | 69 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in nfp_port_set_features()
|
H A D | nfp_net_repr.c | 250 features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_HW_TC); in nfp_repr_fix_features() 391 netdev->features |= NETIF_F_HW_TC; in nfp_repr_init() 392 netdev->hw_features |= NETIF_F_HW_TC; in nfp_repr_init()
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_netdev.c | 279 ndev->hw_features |= NETIF_F_HW_TC; in sparx5_create_netdev() 280 ndev->features |= NETIF_F_HW_TC; in sparx5_create_netdev()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_pf_common.c | 147 ndev->features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup() 148 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
|
H A D | enetc_pf.c | 573 if (changed & NETIF_F_HW_TC) { in enetc_pf_set_features() 574 err = enetc_set_psfp(ndev, !!(features & NETIF_F_HW_TC)); in enetc_pf_set_features()
|
/linux/include/linux/ |
H A D | netdev_features.h | 152 #define NETIF_F_HW_TC __NETIF_F(HW_TC) macro
|
/linux/drivers/net/netdevsim/ |
H A D | netdev.c | 365 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC)) in nsim_set_features() 955 dev->hw_features |= NETIF_F_HW_TC | in nsim_setup()
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_net.c | 858 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in ocelot_set_features() 1829 NETIF_F_HW_TC; in ocelot_probe_port() 1830 dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in ocelot_probe_port()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_repr.c | 308 netdev->hw_features |= NETIF_F_HW_TC; in ice_repr_reg_netdev()
|
H A D | ice_main.c | 3634 netdev->hw_features |= NETIF_F_HW_TC; in ice_set_netdev_features() 6575 if (!(features & NETIF_F_HW_TC) && ice_is_adq_active(pf)) { in ice_set_features() 6580 if (changed & NETIF_F_HW_TC) { in ice_set_features() 6581 bool ena = !!(features & NETIF_F_HW_TC); in ice_set_features() 9183 if (vsi->netdev->features & NETIF_F_HW_TC) in ice_setup_tc_mqprio_qdisc()
|
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.c | 823 NETIF_F_HW_TC; in lan966x_probe_port() 824 dev->hw_features |= NETIF_F_HW_TC; in lan966x_probe_port()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | ef100_nic.c | 1189 net_dev->features |= NETIF_F_HW_TC; in ef100_probe_netdev_pf() 1190 efx->fixed_features |= NETIF_F_HW_TC; in ef100_probe_netdev_pf()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_common.c | 2020 bool tc = !!(features & NETIF_F_HW_TC); in otx2_handle_ntuple_tc_features() 2033 if ((changed & NETIF_F_HW_TC) && !tc && in otx2_handle_ntuple_tc_features() 2040 otx2_tc_flower_rule_cnt(pfvf) && !(changed & NETIF_F_HW_TC)) { in otx2_handle_ntuple_tc_features()
|
H A D | otx2_vf.c | 697 netdev->hw_features |= NETIF_F_HW_TC; in otx2vf_probe()
|
H A D | rep.c | 682 ndev->hw_features |= NETIF_F_HW_TC; in rvu_rep_create()
|
/linux/include/net/ |
H A D | pkt_cls.h | 693 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
|
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2.c | 53 NETIF_F_HW_TC, \
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.c | 900 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev() 1348 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 2059 bp->dev->hw_features |= NETIF_F_HW_TC; in bnxt_init_tc() 2060 bp->dev->features |= NETIF_F_HW_TC; in bnxt_init_tc()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | init.c | 365 hw->netdev_features |= NETIF_F_HW_TC; in mt7915_init_wiphy()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_main.c | 636 dev->features |= NETIF_F_HW_TC; in prestera_port_create()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | init.c | 451 hw->netdev_features |= NETIF_F_HW_TC; in mt7996_init_wiphy()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.c | 1149 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_HW_TC, in mlxsw_sp_set_features() 1546 NETIF_F_HW_TC | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in mlxsw_sp_port_create() 1547 dev->hw_features |= NETIF_F_HW_TC | NETIF_F_LOOPBACK | in mlxsw_sp_port_create()
|
/linux/net/dsa/ |
H A D | user.c | 2718 user->features = conduit->vlan_features | NETIF_F_HW_TC; in dsa_user_setup_tagger() 2719 user->hw_features |= NETIF_F_HW_TC; in dsa_user_setup_tagger()
|