/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_u32.h | 44 return (dev->features & NETIF_F_HW_TC) && adap->tc_u32 ? true : false; in can_tc_u32_offload()
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_port.c | 69 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in nfp_port_set_features()
|
D | nfp_net_repr.c | 250 features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_HW_TC); in nfp_repr_fix_features() 393 netdev->features |= NETIF_F_HW_TC; in nfp_repr_init() 394 netdev->hw_features |= NETIF_F_HW_TC; in nfp_repr_init()
|
/Linux-v6.1/drivers/net/netdevsim/ |
D | netdev.c | 235 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC)) in nsim_set_features() 296 dev->hw_features |= NETIF_F_HW_TC; in nsim_setup()
|
/Linux-v6.1/drivers/net/ethernet/microchip/sparx5/ |
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-v6.1/include/linux/ |
D | netdev_features.h | 155 #define NETIF_F_HW_TC __NETIF_F(HW_TC) macro
|
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_common.c | 1775 bool tc = !!(features & NETIF_F_HW_TC); in otx2_handle_ntuple_tc_features() 1788 if ((changed & NETIF_F_HW_TC) && tc) { in otx2_handle_ntuple_tc_features() 1796 if ((changed & NETIF_F_HW_TC) && !tc && in otx2_handle_ntuple_tc_features() 1803 (netdev->features & NETIF_F_HW_TC) && !(changed & NETIF_F_HW_TC)) { in otx2_handle_ntuple_tc_features() 1809 if ((changed & NETIF_F_HW_TC) && tc && in otx2_handle_ntuple_tc_features()
|
D | otx2_vf.c | 653 netdev->hw_features |= NETIF_F_HW_TC; in otx2vf_probe()
|
/Linux-v6.1/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.c | 733 if (changed & NETIF_F_HW_TC) { in enetc_pf_set_features() 734 err = enetc_set_psfp(ndev, !!(features & NETIF_F_HW_TC)); in enetc_pf_set_features() 831 ndev->features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup() 832 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
|
/Linux-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice_repr.c | 279 netdev->hw_features |= NETIF_F_HW_TC; in ice_repr_reg_netdev()
|
D | ice_main.c | 3399 netdev->hw_features |= NETIF_F_HW_TC; in ice_set_netdev_features() 6088 if (!(features & NETIF_F_HW_TC) && ice_is_adq_active(pf)) { in ice_set_features() 6093 if (changed & NETIF_F_HW_TC) { in ice_set_features() 6094 bool ena = !!(features & NETIF_F_HW_TC); in ice_set_features() 8610 if (vsi->netdev->features & NETIF_F_HW_TC) in ice_setup_tc_mqprio_qdisc()
|
D | ice_tc_lib.c | 1741 if (!(vsi_netdev->features & NETIF_F_HW_TC) && in ice_add_cls_flower()
|
/Linux-v6.1/drivers/net/ethernet/mscc/ |
D | ocelot_net.c | 866 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in ocelot_set_features() 1857 NETIF_F_HW_TC; in ocelot_probe_port() 1858 dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in ocelot_probe_port()
|
/Linux-v6.1/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_main.c | 761 NETIF_F_HW_TC; in lan966x_probe_port() 762 dev->hw_features |= NETIF_F_HW_TC; in lan966x_probe_port()
|
/Linux-v6.1/drivers/net/ethernet/sfc/ |
D | ef100_nic.c | 1141 net_dev->features |= NETIF_F_HW_TC; in ef100_probe_netdev_pf() 1142 efx->fixed_features |= NETIF_F_HW_TC; in ef100_probe_netdev_pf()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.c | 728 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev() 1143 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
|
/Linux-v6.1/include/net/ |
D | pkt_cls.h | 682 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
|
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
D | hw_atl2.c | 53 NETIF_F_HW_TC, \
|
/Linux-v6.1/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.h | 50 NETIF_F_HW_TC)
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/ |
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-v6.1/drivers/net/ethernet/marvell/prestera/ |
D | prestera_main.c | 643 dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_HW_TC; in prestera_port_create()
|
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 2435 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in hns3_nic_set_features() 3337 netdev->features |= NETIF_F_HW_TC; in hns3_set_default_feature() 3346 NETIF_F_HW_TC); in hns3_set_default_feature()
|
/Linux-v6.1/net/dsa/ |
D | slave.c | 2332 slave->features = master->vlan_features | NETIF_F_HW_TC; in dsa_slave_setup_tagger() 2333 slave->hw_features |= NETIF_F_HW_TC; in dsa_slave_setup_tagger()
|
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_b0.c | 52 NETIF_F_HW_TC, \
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.c | 1249 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_HW_TC, in mlxsw_sp_set_features() 1686 NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in mlxsw_sp_port_create() 1687 dev->hw_features |= NETIF_F_HW_TC | NETIF_F_LOOPBACK; in mlxsw_sp_port_create()
|