/Linux-v5.15/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-v5.15/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() 390 netdev->features |= NETIF_F_HW_TC; in nfp_repr_init() 391 netdev->hw_features |= NETIF_F_HW_TC; in nfp_repr_init()
|
D | nfp_net_common.c | 4090 netdev->hw_features |= NETIF_F_HW_TC; in nfp_net_netdev_init()
|
/Linux-v5.15/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-v5.15/include/linux/ |
D | netdev_features.h | 155 #define NETIF_F_HW_TC __NETIF_F(HW_TC) macro
|
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_pf.c | 1839 bool tc = !!(features & NETIF_F_HW_TC); in otx2_set_features() 1860 if ((changed & NETIF_F_HW_TC) && tc) { in otx2_set_features() 1868 if ((changed & NETIF_F_HW_TC) && !tc && in otx2_set_features() 1875 (netdev->features & NETIF_F_HW_TC) && !(changed & NETIF_F_HW_TC)) { in otx2_set_features() 1881 if ((changed & NETIF_F_HW_TC) && tc && in otx2_set_features() 2606 netdev->hw_features |= NETIF_F_HW_TC; in otx2_probe()
|
/Linux-v5.15/drivers/net/ethernet/mscc/ |
D | ocelot_net.c | 733 if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in ocelot_set_features() 1705 NETIF_F_HW_TC; in ocelot_probe_port() 1706 dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in ocelot_probe_port()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.c | 640 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_rep_netdev() 1015 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
|
D | en_main.c | 3463 err |= MLX5E_HANDLE_FEATURE(NETIF_F_HW_TC, set_feature_hw_tc); in mlx5e_set_features() 4499 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_nic_netdev() 4515 netdev->hw_features |= NETIF_F_HW_TC; in mlx5e_build_nic_netdev()
|
/Linux-v5.15/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.c | 780 ndev->features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup() 781 ndev->hw_features |= NETIF_F_HW_TC; in enetc_pf_netdev_setup()
|
D | enetc.c | 2368 if (changed & NETIF_F_HW_TC) in enetc_set_features() 2369 err = enetc_set_psfp(ndev, !!(features & NETIF_F_HW_TC)); in enetc_set_features()
|
/Linux-v5.15/include/net/ |
D | pkt_cls.h | 639 return dev->features & NETIF_F_HW_TC; in tc_can_offload()
|
/Linux-v5.15/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.h | 47 NETIF_F_HW_TC)
|
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
D | hw_atl2.c | 53 NETIF_F_HW_TC, \
|
/Linux-v5.15/drivers/net/ethernet/marvell/prestera/ |
D | prestera_main.c | 319 dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_HW_TC; in prestera_port_create()
|
/Linux-v5.15/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-v5.15/net/dsa/ |
D | slave.c | 1886 slave->features = master->vlan_features | NETIF_F_HW_TC; in dsa_slave_setup_tagger() 1887 slave->hw_features |= NETIF_F_HW_TC; in dsa_slave_setup_tagger()
|
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 2335 if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && in hns3_nic_set_features() 3162 netdev->features |= NETIF_F_HW_TC; in hns3_set_default_feature() 3171 NETIF_F_HW_TC); in hns3_set_default_feature()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.c | 1113 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_HW_TC, in mlxsw_sp_set_features() 1525 NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; in mlxsw_sp_port_create() 1526 dev->hw_features |= NETIF_F_HW_TC | NETIF_F_LOOPBACK; in mlxsw_sp_port_create()
|
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_b0.c | 52 NETIF_F_HW_TC, \
|
/Linux-v5.15/drivers/net/ethernet/ti/ |
D | am65-cpsw-nuss.c | 1980 NETIF_F_HW_TC; in am65_cpsw_nuss_init_port_ndev()
|
/Linux-v5.15/drivers/net/ethernet/qlogic/qede/ |
D | qede_main.c | 794 NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_HW_TC; in qede_init_ndev()
|
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch.c | 3280 NETIF_F_HW_TC; in dpaa2_switch_probe_port()
|
/Linux-v5.15/drivers/net/ethernet/intel/iavf/ |
D | iavf_main.c | 3584 hw_features |= NETIF_F_HW_TC; in iavf_process_config()
|