/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/ |
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-6.3-rc2/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_port.c | 69 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in nfp_port_set_features()
|
A D | nfp_net_repr.c | 250 features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_HW_TC); in nfp_repr_fix_features() 392 netdev->features |= NETIF_F_HW_TC; in nfp_repr_init() 393 netdev->hw_features |= NETIF_F_HW_TC; in nfp_repr_init()
|
/linux-6.3-rc2/drivers/net/netdevsim/ |
A D | netdev.c | 235 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC)) in nsim_set_features() 287 dev->hw_features |= NETIF_F_HW_TC; in nsim_setup()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_netdev.c | 260 ndev->hw_features |= NETIF_F_HW_TC; in sparx5_create_netdev() 261 ndev->features |= NETIF_F_HW_TC; in sparx5_create_netdev()
|
/linux-6.3-rc2/include/linux/ |
A D | netdev_features.h | 155 #define NETIF_F_HW_TC __NETIF_F(HW_TC) macro
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_common.c | 1780 bool tc = !!(features & NETIF_F_HW_TC); in otx2_handle_ntuple_tc_features() 1793 if ((changed & NETIF_F_HW_TC) && tc) { in otx2_handle_ntuple_tc_features() 1801 if ((changed & NETIF_F_HW_TC) && !tc && in otx2_handle_ntuple_tc_features() 1808 (netdev->features & NETIF_F_HW_TC) && !(changed & NETIF_F_HW_TC)) { in otx2_handle_ntuple_tc_features() 1814 if ((changed & NETIF_F_HW_TC) && tc && in otx2_handle_ntuple_tc_features()
|
A D | otx2_vf.c | 653 netdev->hw_features |= NETIF_F_HW_TC; in otx2vf_probe()
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_pf.c | 715 if (changed & NETIF_F_HW_TC) { in enetc_pf_set_features() 716 err = enetc_set_psfp(ndev, !!(features & NETIF_F_HW_TC)); in enetc_pf_set_features() 816 ndev->features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup() 817 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_repr.c | 273 netdev->hw_features |= NETIF_F_HW_TC; in ice_repr_reg_netdev()
|
A D | ice_main.c | 3451 netdev->hw_features |= NETIF_F_HW_TC; in ice_set_netdev_features() 6347 if (!(features & NETIF_F_HW_TC) && ice_is_adq_active(pf)) { in ice_set_features() 6352 if (changed & NETIF_F_HW_TC) { in ice_set_features() 6353 bool ena = !!(features & NETIF_F_HW_TC); in ice_set_features() 8893 if (vsi->netdev->features & NETIF_F_HW_TC) in ice_setup_tc_mqprio_qdisc()
|
A D | ice_tc_lib.c | 1902 if (!(vsi_netdev->features & NETIF_F_HW_TC) && in ice_add_cls_flower()
|
/linux-6.3-rc2/drivers/net/ethernet/mscc/ |
A D | ocelot_net.c | 857 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in ocelot_set_features() 1846 NETIF_F_HW_TC; in ocelot_probe_port() 1847 dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in ocelot_probe_port()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_main.c | 782 NETIF_F_HW_TC; in lan966x_probe_port() 783 dev->hw_features |= NETIF_F_HW_TC; in lan966x_probe_port()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
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-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_rep.c | 773 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev() 1222 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
|
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
A D | hw_atl2.c | 53 NETIF_F_HW_TC, \
|
/linux-6.3-rc2/include/net/ |
A D | pkt_cls.h | 695 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
|
/linux-6.3-rc2/drivers/net/ethernet/mediatek/ |
A D | mtk_eth_soc.h | 55 NETIF_F_HW_TC)
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_tc.c | 2055 bp->dev->hw_features |= NETIF_F_HW_TC; in bnxt_init_tc() 2056 bp->dev->features |= NETIF_F_HW_TC; in bnxt_init_tc()
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_main.c | 641 dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_HW_TC; in prestera_port_create()
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/ |
A D | hns3_enet.c | 2436 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in hns3_nic_set_features() 3338 netdev->features |= NETIF_F_HW_TC; in hns3_set_default_feature() 3347 NETIF_F_HW_TC); in hns3_set_default_feature()
|
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
A D | hw_atl_b0.c | 52 NETIF_F_HW_TC, \
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum.c | 1267 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_HW_TC, in mlxsw_sp_set_features() 1695 NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in mlxsw_sp_port_create() 1696 dev->hw_features |= NETIF_F_HW_TC | NETIF_F_LOOPBACK; in mlxsw_sp_port_create()
|
/linux-6.3-rc2/net/dsa/ |
A D | slave.c | 2408 slave->features = master->vlan_features | NETIF_F_HW_TC; in dsa_slave_setup_tagger() 2409 slave->hw_features |= NETIF_F_HW_TC; in dsa_slave_setup_tagger()
|