Home
last modified time | relevance | path

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

12

/linux-5.19.10/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()
587 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()
630 tcm->tcm_handle |= TC_H_MIN(cl); in fq_codel_dump_class()
Dsch_prio.c61 band = TC_H_MIN(band) - 1; in prio_classify()
330 unsigned long band = TC_H_MIN(classid); in prio_find()
352 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()
858 tcm->tcm_handle |= TC_H_MIN(cl); in sfq_dump_class()
Dsch_dsmark.c92 return TC_H_MIN(classid) + 1; in dsmark_find()
241 skb->tc_index = TC_H_MIN(skb->priority); in dsmark_enqueue()
261 skb->tc_index = TC_H_MIN(res.classid); in dsmark_enqueue()
Dsch_multiq.c306 unsigned long band = TC_H_MIN(classid); in multiq_find()
329 tcm->tcm_handle |= TC_H_MIN(cl); in multiq_dump_class()
Dsch_htb.c1144 .classid = TC_H_MIN(q->defcls), in htb_init()
1396 .classid = TC_H_MIN(tcm->tcm_parent), in htb_select_queue()
1609 if (!err && offload_opt.classid != TC_H_MIN(cl->common.classid)) { in htb_destroy_class_offload()
1611 TC_H_MIN(offload_opt.classid); in htb_destroy_class_offload()
1922 TC_H_MIN(parent->common.classid) : in htb_change_class()
1943 TC_H_MIN(parent->common.classid), in htb_change_class()
Dsch_skbprio.c249 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.c1124 if (TC_H_MIN(parent)) { in __tcf_qdisc_cl_find()
1991 protocol = TC_H_MIN(t->tcm_info); in tc_new_tfilter()
2219 protocol = TC_H_MIN(t->tcm_info); in tc_del_tfilter()
2376 protocol = TC_H_MIN(t->tcm_info); in tc_get_tfilter()
2513 if (TC_H_MIN(tcm->tcm_info) && in tcf_chain_dump()
2514 TC_H_MIN(tcm->tcm_info) != tp->protocol) in tcf_chain_dump()
2619 if (TC_H_MIN(tcm->tcm_parent)) { in tc_dump_tfilter()
2995 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()
411 band = TC_H_MIN(band) - 1; in ets_classify()
Dsch_taprio.c1729 TC_H_MIN(i + 1)), in taprio_init()
1962 unsigned int ntx = TC_H_MIN(classid); in taprio_find()
1975 tcm->tcm_handle |= TC_H_MIN(cl); in taprio_dump_class()
2016 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()
2977 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_tbf.c551 tcm->tcm_handle |= TC_H_MIN(1); in tbf_dump_class()
Dsch_red.c477 tcm->tcm_handle |= TC_H_MIN(1); in red_dump_class()
Dsch_sfb.c273 *salt = TC_H_MIN(res.classid); in sfb_classify()
/linux-5.19.10/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-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dselq.c146 classid = TC_H_MIN(skb->priority); in mlx5e_select_htb_queue()
/linux-5.19.10/tools/include/uapi/linux/
Dpkt_sched.h70 #define TC_H_MIN(h) ((h)&TC_H_MIN_MASK) macro
/linux-5.19.10/include/uapi/linux/
Dpkt_sched.h71 #define TC_H_MIN(h) ((h)&TC_H_MIN_MASK) macro
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c1206 band = TC_H_MIN(p->parent) - 1; in __mlxsw_sp_setup_tc_fifo()
1494 int child_index = TC_H_MIN(parent); in mlxsw_sp_qdisc_prio_find_class()

12