Home
last modified time | relevance | path

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

12

/linux-6.1.9/net/sched/
Dsch_ingress.c30 return TC_H_MIN(classid) + 1; in ingress_find()
157 switch (TC_H_MIN(classid)) { in clsact_find()
158 case TC_H_MIN(TC_H_MIN_INGRESS): in clsact_find()
159 case TC_H_MIN(TC_H_MIN_EGRESS): in clsact_find()
160 return TC_H_MIN(classid); in clsact_find()
178 case TC_H_MIN(TC_H_MIN_INGRESS): in clsact_tcf_block()
180 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.c88 TC_H_MIN(skb->priority) > 0 && in fq_pie_classify()
89 TC_H_MIN(skb->priority) <= q->flows_cnt) in fq_pie_classify()
90 return TC_H_MIN(skb->priority); in fq_pie_classify()
110 if (TC_H_MIN(res.classid) <= q->flows_cnt) in fq_pie_classify()
111 return TC_H_MIN(res.classid); in fq_pie_classify()
Dsch_mqprio.c231 TC_H_MIN(i + 1)), extack); in mqprio_init()
458 unsigned int ntx = TC_H_MIN(classid); in mqprio_find()
484 TC_H_MIN(tc + TC_H_MIN_PRIORITY)); in mqprio_dump_class()
490 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class()
584 return mqprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mqprio_select_queue()
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_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()
858 tcm->tcm_handle |= TC_H_MIN(cl); in sfq_dump_class()
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_dsmark.c92 return TC_H_MIN(classid) + 1; in dsmark_find()
237 skb->tc_index = TC_H_MIN(skb->priority); in dsmark_enqueue()
257 skb->tc_index = TC_H_MIN(res.classid); in dsmark_enqueue()
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.c1139 .classid = TC_H_MIN(q->defcls), in htb_init()
1375 .classid = TC_H_MIN(tcm->tcm_parent), in htb_select_queue()
1593 if (!err && offload_opt.classid != TC_H_MIN(cl->common.classid)) { in htb_destroy_class_offload()
1595 TC_H_MIN(offload_opt.classid); in htb_destroy_class_offload()
1905 TC_H_MIN(parent->common.classid) : in htb_change_class()
1926 TC_H_MIN(parent->common.classid), in htb_change_class()
Dsch_skbprio.c246 tcm->tcm_handle |= TC_H_MIN(cl); in skbprio_dump_class()
Dcls_flow.c414 if (TC_H_MIN(baseclass) == 0) in flow_change()
507 if (TC_H_MIN(baseclass) == 0) in flow_change()
Dcls_api.c1125 if (TC_H_MIN(parent)) { in __tcf_qdisc_cl_find()
1989 protocol = TC_H_MIN(t->tcm_info); in tc_new_tfilter()
2215 protocol = TC_H_MIN(t->tcm_info); in tc_del_tfilter()
2372 protocol = TC_H_MIN(t->tcm_info); in tc_get_tfilter()
2509 if (TC_H_MIN(tcm->tcm_info) && in tcf_chain_dump()
2510 TC_H_MIN(tcm->tcm_info) != tp->protocol) in tcf_chain_dump()
2615 if (TC_H_MIN(tcm->tcm_parent)) { in tc_dump_tfilter()
2987 if (TC_H_MIN(tcm->tcm_parent)) { in tc_dump_chain()
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_taprio.c1799 TC_H_MIN(i + 1)), in taprio_init()
2058 unsigned int ntx = TC_H_MIN(classid); in taprio_find()
2071 tcm->tcm_handle |= TC_H_MIN(cl); in taprio_dump_class()
2109 return taprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in taprio_select_queue()
Dsch_cake.c1638 TC_H_MIN(skb->priority) > 0 && in cake_select_tin()
1639 TC_H_MIN(skb->priority) <= q->tin_cnt) in cake_select_tin()
1640 tin = q->tin_order[TC_H_MIN(skb->priority) - 1]; in cake_select_tin()
1682 if (TC_H_MIN(res.classid) <= CAKE_QUEUES) in cake_classify()
1683 flow = TC_H_MIN(res.classid); in cake_classify()
2978 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_red.c473 tcm->tcm_handle |= TC_H_MIN(1); in red_dump_class()
Dsch_tbf.c549 tcm->tcm_handle |= TC_H_MIN(1); in tbf_dump_class()
/linux-6.1.9/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.1.9/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.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_tc.c20 u32 queue = TC_H_MIN(parent) - 1; in sparx5_tc_get_layer_and_idx()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dselq.c181 classid = TC_H_MIN(skb->priority); in mlx5e_select_htb_queue()
/linux-6.1.9/tools/include/uapi/linux/
Dpkt_sched.h70 #define TC_H_MIN(h) ((h)&TC_H_MIN_MASK) macro
/linux-6.1.9/include/uapi/linux/
Dpkt_sched.h71 #define TC_H_MIN(h) ((h)&TC_H_MIN_MASK) macro

12