Home
last modified time | relevance | path

Searched refs:TC_MAX_QUEUE (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/net/sched/
Dsch_mqprio.c67 if (qopt->num_tc > TC_MAX_QUEUE) in mqprio_parse_opt()
147 BUILD_BUG_ON(TC_MAX_QUEUE != TC_QOPT_MAX_QUEUE); in mqprio_init()
566 if (ntx < TC_MAX_QUEUE) { in mqprio_walk()
567 arg->count = TC_MAX_QUEUE; in mqprio_walk()
568 ntx = TC_MAX_QUEUE; in mqprio_walk()
572 for (ntx -= TC_MAX_QUEUE; ntx < dev->num_tx_queues; ntx++) { in mqprio_walk()
Dsch_taprio.c81 u32 max_frm_len[TC_MAX_QUEUE]; /* for the fast path */
82 u32 max_sdu[TC_MAX_QUEUE]; /* for dump and offloading */
941 if (qopt->num_tc > TC_MAX_QUEUE) { in taprio_parse_mqprio_opt()
1248 for (tc = 0; tc < TC_MAX_QUEUE; tc++) { in taprio_enable_offload()
1266 for (tc = 0; tc < TC_MAX_QUEUE; tc++) in taprio_enable_offload()
1953 for (tc = 0; tc < TC_MAX_QUEUE; tc++) { in taprio_dump_tc_entries()
/Linux-v6.1/include/net/
Dpkt_sched.h180 u32 max_sdu[TC_MAX_QUEUE];
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.h300 u64 tc_ecn[TC_MAX_QUEUE];
301 u64 wred_drop[TC_MAX_QUEUE];
302 u64 tail_drop[TC_MAX_QUEUE];
303 u64 backlog[TC_MAX_QUEUE];
Dspectrum_ethtool.c603 TC_MAX_QUEUE) + \
676 for (i = 0; i < TC_MAX_QUEUE; i++) in mlxsw_sp_port_get_strings()
836 for (i = 0; i < TC_MAX_QUEUE; i++) { in mlxsw_sp_port_get_stats()
Dspectrum.c930 for (i = 0; i < TC_MAX_QUEUE; i++) { in mlxsw_sp_port_get_hw_xstats()
2373 for (i = 0; i < TC_MAX_QUEUE; i++) in mlxsw_sp_port_down_wipe_counters()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den.h309 struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE];
311 u64 max_rate[TC_MAX_QUEUE];
312 u32 hw_id[TC_MAX_QUEUE];
Den_main.c2052 for (tc = 0; tc < TC_MAX_QUEUE; tc++) in mlx5e_mqprio_txq_to_tc()
2754 struct netdev_tc_txq old_tc_to_txq[TC_MAX_QUEUE], *tc_to_txq; in mlx5e_update_netdev_queues()
3339 memset(tc_to_txq, 0, sizeof(*tc_to_txq) * TC_MAX_QUEUE); in mlx5e_mqprio_build_default_tc_to_txq()
3357 for (tc = 0; tc < TC_MAX_QUEUE; tc++) { in mlx5e_mqprio_build_tc_to_txq()
3378 for (tc = 0; tc < TC_MAX_QUEUE; tc++) { in mlx5e_mqprio_rl_update_params()
3396 for (tc = 0; tc < TC_MAX_QUEUE; tc++) in mlx5e_params_mqprio_channel_set()
/Linux-v6.1/include/linux/
Dnetdevice.h836 #define TC_MAX_QUEUE 16 macro
2319 struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE];
/Linux-v6.1/net/core/
Ddev.c2350 for (i = 0; i < TC_MAX_QUEUE; i++, tc++) { in netdev_txq_to_tc()
2798 if (num_tc > TC_MAX_QUEUE) in netdev_set_num_tc()