Home
last modified time | relevance | path

Searched refs:netdev_get_num_tc (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/intel/fm10k/
Dfm10k_dcbnl.c59 if (num_tc != netdev_get_num_tc(dev)) { in fm10k_dcbnl_ieee_setets()
Dfm10k_ethtool.c1111 u8 tcs = netdev_get_num_tc(dev); in fm10k_max_channels()
1157 return fm10k_setup_tc(dev, netdev_get_num_tc(dev)); in fm10k_set_channels()
Dfm10k_main.c1486 pcs = netdev_get_num_tc(dev); in fm10k_set_qos_queues()
1866 u8 num_pcs = netdev_get_num_tc(dev); in fm10k_cache_ring_qos()
/Linux-v6.6/net/sched/
Dsch_mqprio_lib.c105 int tc, num_tc = netdev_get_num_tc(dev); in mqprio_qopt_reconstruct()
Dsch_taprio.c116 int num_tc = netdev_get_num_tc(dev); in taprio_calculate_gate_durations()
269 int num_tc = netdev_get_num_tc(dev); in taprio_update_queue_max_sdu()
672 int num_tc = netdev_get_num_tc(dev); in taprio_set_budgets()
718 int num_tc = netdev_get_num_tc(dev); in taprio_dequeue_from_txq()
787 int num_tc = netdev_get_num_tc(dev); in taprio_dequeue_tc_priority()
929 int num_tc = netdev_get_num_tc(dev); in advance_sched()
1250 int num_tc = netdev_get_num_tc(dev); in setup_first_end_time()
Dsch_mqprio.c640 return ((ntx - TC_H_MIN_PRIORITY) < netdev_get_num_tc(dev)) ? ntx : 0; in mqprio_find()
729 for (ntx = arg->skip; ntx < netdev_get_num_tc(dev); ntx++) { in mqprio_walk()
/Linux-v6.6/net/dsa/
Dtag_ocelot.c58 qos_class = netdev_get_num_tc(netdev) ? in ocelot_xmit_common()
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c417 tc = netdev_get_num_tc(dev); in bnxt_xdp_set()
Dbnxt_dcb.c231 int tc = netdev_get_num_tc(bp->dev); in bnxt_queue_remap()
Dbnxt_ethtool.c869 tcs = netdev_get_num_tc(dev); in bnxt_get_channels()
928 tcs = netdev_get_num_tc(dev); in bnxt_set_channels()
Dbnxt.c8963 tcs = netdev_get_num_tc(dev); in bnxt_setup_msix()
8995 if (netdev_get_num_tc(bp->dev)) in bnxt_setup_inta()
9223 int tcs = netdev_get_num_tc(bp->dev); in bnxt_reserve_rings()
12794 if (netdev_get_num_tc(dev) == tc) in bnxt_setup_mq_tc()
/Linux-v6.6/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c239 u8 tc_nums = netdev_get_num_tc(ndev); in enetc_setup_tc_cbs()
354 u8 tc_nums = netdev_get_num_tc(ndev); in enetc_setup_tc_txtime()
/Linux-v6.6/include/net/
Dsch_generic.h666 return (hwtc < netdev_get_num_tc(dev)) ? hwtc : -EINVAL; in tc_classid_to_hwtc()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c745 if (netdev_get_num_tc(dev)) in mlx4_en_select_queue()
/Linux-v6.6/drivers/net/ethernet/qlogic/qede/
Dqede_main.c2506 num_tc = netdev_get_num_tc(edev->ndev); in qede_load()
/Linux-v6.6/include/linux/
Dnetdevice.h2453 int netdev_get_num_tc(struct net_device *dev) in netdev_get_num_tc() function
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c5346 int num_tc = netdev_get_num_tc(adapter->netdev); in ixgbe_fwd_ring_up()