Home
last modified time | relevance | path

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

12

/Linux-v5.10/include/trace/events/
Dqdisc.h70 __get_str(kind), TC_H_MAJ(__entry->parent) >> 16, TC_H_MIN(__entry->parent),
71 TC_H_MAJ(__entry->handle) >> 16, TC_H_MIN(__entry->handle))
95 __get_str(kind), TC_H_MAJ(__entry->parent) >> 16, TC_H_MIN(__entry->parent),
96 TC_H_MAJ(__entry->handle) >> 16, TC_H_MIN(__entry->handle))
119 TC_H_MAJ(__entry->parent) >> 16, TC_H_MIN(__entry->parent))
/Linux-v5.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()
187 return mq_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mq_select_queue()
225 unsigned int ntx = TC_H_MIN(classid); in mq_find()
238 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_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()
610 tcm->tcm_handle |= TC_H_MIN(cl); in fq_codel_dump_class()
Dsch_mqprio.c231 TC_H_MIN(i + 1)), extack); in mqprio_init()
472 unsigned int ntx = TC_H_MIN(classid); in mqprio_find()
498 TC_H_MIN(tc + TC_H_MIN_PRIORITY)); in mqprio_dump_class()
504 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class()
606 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()
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()
240 skb->tc_index = TC_H_MIN(skb->priority); in dsmark_enqueue()
260 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_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()
Dsch_ets.c276 unsigned long band = TC_H_MIN(classid); in ets_class_find()
412 band = TC_H_MIN(band) - 1; in ets_classify()
Dsch_taprio.c1682 TC_H_MIN(i + 1)), in taprio_init()
1882 unsigned int ntx = TC_H_MIN(classid); in taprio_find()
1895 tcm->tcm_handle |= TC_H_MIN(cl); in taprio_dump_class()
1936 return taprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in taprio_select_queue()
Dcls_api.c1107 if (TC_H_MIN(parent)) { in __tcf_qdisc_cl_find()
1979 protocol = TC_H_MIN(t->tcm_info); in tc_new_tfilter()
2201 protocol = TC_H_MIN(t->tcm_info); in tc_del_tfilter()
2358 protocol = TC_H_MIN(t->tcm_info); in tc_get_tfilter()
2495 if (TC_H_MIN(tcm->tcm_info) && in tcf_chain_dump()
2496 TC_H_MIN(tcm->tcm_info) != tp->protocol) in tcf_chain_dump()
2601 if (TC_H_MIN(tcm->tcm_parent)) { in tc_dump_tfilter()
2988 if (TC_H_MIN(tcm->tcm_parent)) { in tc_dump_chain()
Dsch_cake.c1634 TC_H_MIN(skb->priority) > 0 && in cake_select_tin()
1635 TC_H_MIN(skb->priority) <= q->tin_cnt) in cake_select_tin()
1636 tin = q->tin_order[TC_H_MIN(skb->priority) - 1]; in cake_select_tin()
1678 if (TC_H_MIN(res.classid) <= CAKE_QUEUES) in cake_classify()
1679 flow = TC_H_MIN(res.classid); in cake_classify()
2977 tcm->tcm_handle |= TC_H_MIN(cl); in cake_dump_class()
Dsch_cbs.c485 tcm->tcm_handle |= TC_H_MIN(1); in cbs_dump_class()
Dsch_tbf.c535 tcm->tcm_handle |= TC_H_MIN(1); in tbf_dump_class()
Dsch_red.c474 tcm->tcm_handle |= TC_H_MIN(1); in red_dump_class()
Dsch_sfb.c273 *salt = TC_H_MIN(res.classid); in sfb_classify()
Dsch_netem.c1228 tcm->tcm_handle |= TC_H_MIN(1); in netem_dump_class()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c112 TC_H_MIN(parent) > IEEE_8021QAZ_MAX_TCS) in mlxsw_sp_qdisc_find()
115 child_index = TC_H_MIN(parent); in mlxsw_sp_qdisc_find()
875 child_index = TC_H_MIN(p->parent); in mlxsw_sp_setup_tc_fifo()
/Linux-v5.10/tools/include/uapi/linux/
Dpkt_sched.h70 #define TC_H_MIN(h) ((h)&TC_H_MIN_MASK) macro
/Linux-v5.10/include/uapi/linux/
Dpkt_sched.h71 #define TC_H_MIN(h) ((h)&TC_H_MIN_MASK) macro
/Linux-v5.10/include/net/
Dsch_generic.h627 u32 hwtc = TC_H_MIN(classid) - TC_H_MIN_PRIORITY; in tc_classid_to_hwtc()

12