Home
last modified time | relevance | path

Searched refs:TC_H_MIN (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.6.21/include/trace/events/
Dqdisc.h98 __get_str(kind), TC_H_MAJ(__entry->parent) >> 16, TC_H_MIN(__entry->parent),
99 TC_H_MAJ(__entry->handle) >> 16, TC_H_MIN(__entry->handle))
123 __get_str(kind), TC_H_MAJ(__entry->parent) >> 16, TC_H_MIN(__entry->parent),
124 TC_H_MAJ(__entry->handle) >> 16, TC_H_MIN(__entry->handle))
147 TC_H_MAJ(__entry->parent) >> 16, TC_H_MIN(__entry->parent))
/linux-6.6.21/net/sched/
Dsch_ingress.c31 return TC_H_MIN(classid) + 1; in ingress_find()
183 switch (TC_H_MIN(classid)) { in clsact_find()
184 case TC_H_MIN(TC_H_MIN_INGRESS): in clsact_find()
185 case TC_H_MIN(TC_H_MIN_EGRESS): in clsact_find()
186 return TC_H_MIN(classid); in clsact_find()
204 case TC_H_MIN(TC_H_MIN_INGRESS): in clsact_tcf_block()
206 case TC_H_MIN(TC_H_MIN_EGRESS): in clsact_tcf_block()
Dsch_mq.c92 TC_H_MIN(ntx + 1)), in mq_init()
172 return mq_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mq_select_queue()
210 unsigned int ntx = TC_H_MIN(classid); in mq_find()
223 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class()
Dsch_fq_pie.c89 TC_H_MIN(skb->priority) > 0 && in fq_pie_classify()
90 TC_H_MIN(skb->priority) <= q->flows_cnt) in fq_pie_classify()
91 return TC_H_MIN(skb->priority); in fq_pie_classify()
111 if (TC_H_MIN(res.classid) <= q->flows_cnt) in fq_pie_classify()
112 return TC_H_MIN(res.classid); in fq_pie_classify()
Dsch_fq_codel.c85 TC_H_MIN(skb->priority) > 0 && in fq_codel_classify()
86 TC_H_MIN(skb->priority) <= q->flows_cnt) in fq_codel_classify()
87 return TC_H_MIN(skb->priority); in fq_codel_classify()
107 if (TC_H_MIN(res.classid) <= q->flows_cnt) in fq_codel_classify()
108 return TC_H_MIN(res.classid); in fq_codel_classify()
625 tcm->tcm_handle |= TC_H_MIN(cl); in fq_codel_dump_class()
Dsch_mqprio.c403 TC_H_MIN(i + 1)), extack); in mqprio_init()
627 unsigned int ntx = TC_H_MIN(classid); in mqprio_find()
653 TC_H_MIN(tc + TC_H_MIN_PRIORITY)); in mqprio_dump_class()
659 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class()
753 return mqprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mqprio_select_queue()
Dsch_prio.c61 band = TC_H_MIN(band) - 1; in prio_classify()
328 unsigned long band = TC_H_MIN(classid); in prio_find()
350 tcm->tcm_handle |= TC_H_MIN(cl); in prio_dump_class()
Dsch_sfq.c172 TC_H_MIN(skb->priority) > 0 && in sfq_classify()
173 TC_H_MIN(skb->priority) <= q->divisor) in sfq_classify()
174 return TC_H_MIN(skb->priority); in sfq_classify()
194 if (TC_H_MIN(res.classid) <= q->divisor) in sfq_classify()
195 return TC_H_MIN(res.classid); in sfq_classify()
861 tcm->tcm_handle |= TC_H_MIN(cl); in sfq_dump_class()
Dsch_multiq.c305 unsigned long band = TC_H_MIN(classid); in multiq_find()
328 tcm->tcm_handle |= TC_H_MIN(cl); in multiq_dump_class()
Dsch_htb.c1145 .classid = TC_H_MIN(q->defcls), in htb_init()
1381 .classid = TC_H_MIN(tcm->tcm_parent), in htb_select_queue()
1599 if (!err && offload_opt.classid != TC_H_MIN(cl->common.classid)) { in htb_destroy_class_offload()
1601 TC_H_MIN(offload_opt.classid); in htb_destroy_class_offload()
1905 TC_H_MIN(parent->common.classid) : in htb_change_class()
1928 TC_H_MIN(parent->common.classid), in htb_change_class()
Dcls_api.c1231 if (TC_H_MIN(parent)) { in __tcf_qdisc_cl_find()
2121 return (TC_H_MIN(classid) == TC_H_MIN(TC_H_MIN_INGRESS)); in is_qdisc_ingress()
2157 protocol = TC_H_MIN(t->tcm_info); in tc_new_tfilter()
2385 protocol = TC_H_MIN(t->tcm_info); in tc_del_tfilter()
2542 protocol = TC_H_MIN(t->tcm_info); in tc_get_tfilter()
2679 if (TC_H_MIN(tcm->tcm_info) && in tcf_chain_dump()
2680 TC_H_MIN(tcm->tcm_info) != tp->protocol) in tcf_chain_dump()
2785 if (TC_H_MIN(tcm->tcm_parent)) { in tc_dump_tfilter()
3166 if (TC_H_MIN(tcm->tcm_parent)) { in tc_dump_chain()
Dsch_skbprio.c246 tcm->tcm_handle |= TC_H_MIN(cl); in skbprio_dump_class()
Dcls_flow.c416 if (TC_H_MIN(baseclass) == 0) in flow_change()
509 if (TC_H_MIN(baseclass) == 0) in flow_change()
Dsch_ets.c276 unsigned long band = TC_H_MIN(classid); in ets_class_find()
404 band = TC_H_MIN(band) - 1; in ets_classify()
Dsch_cake.c1639 TC_H_MIN(skb->priority) > 0 && in cake_select_tin()
1640 TC_H_MIN(skb->priority) <= q->tin_cnt) in cake_select_tin()
1641 tin = q->tin_order[TC_H_MIN(skb->priority) - 1]; in cake_select_tin()
1683 if (TC_H_MIN(res.classid) <= CAKE_QUEUES) in cake_classify()
1684 flow = TC_H_MIN(res.classid); in cake_classify()
2979 tcm->tcm_handle |= TC_H_MIN(cl); in cake_dump_class()
Dsch_cbs.c486 tcm->tcm_handle |= TC_H_MIN(1); in cbs_dump_class()
Dsch_taprio.c2118 TC_H_MIN(i + 1)), in taprio_init()
2465 unsigned int ntx = TC_H_MIN(classid); in taprio_find()
2478 tcm->tcm_handle |= TC_H_MIN(cl); in taprio_dump_class()
2522 return taprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in taprio_select_queue()
Dsch_tbf.c550 tcm->tcm_handle |= TC_H_MIN(1); in tbf_dump_class()
Dsch_red.c476 tcm->tcm_handle |= TC_H_MIN(1); in red_dump_class()
Dsch_sfb.c273 *salt = TC_H_MIN(res.classid); in sfb_classify()
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_tbf.c15 queue = TC_H_MIN(qopt->parent) - 1; in lan966x_tbf_add()
64 queue = TC_H_MIN(qopt->parent) - 1; in lan966x_tbf_del()
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_tc.c70 u32 queue = TC_H_MIN(parent) - 1; in sparx5_tc_get_layer_and_idx()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dselq.c181 classid = TC_H_MIN(skb->priority); in mlx5e_select_htb_queue()
/linux-6.6.21/tools/include/uapi/linux/
Dpkt_sched.h70 #define TC_H_MIN(h) ((h)&TC_H_MIN_MASK) macro
/linux-6.6.21/include/uapi/linux/
Dpkt_sched.h71 #define TC_H_MIN(h) ((h)&TC_H_MIN_MASK) macro

12