Home
last modified time | relevance | path

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

/Linux-v4.19/net/sched/
Dsch_ingress.c34 return TC_H_MIN(classid) + 1; in ingress_find()
153 switch (TC_H_MIN(classid)) { in clsact_find()
154 case TC_H_MIN(TC_H_MIN_INGRESS): in clsact_find()
155 case TC_H_MIN(TC_H_MIN_EGRESS): in clsact_find()
156 return TC_H_MIN(classid); in clsact_find()
174 case TC_H_MIN(TC_H_MIN_INGRESS): in clsact_tcf_block()
176 case TC_H_MIN(TC_H_MIN_EGRESS): in clsact_tcf_block()
Dsch_mq.c97 TC_H_MIN(ntx + 1)), in mq_init()
192 return mq_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mq_select_queue()
221 unsigned int ntx = TC_H_MIN(classid); in mq_find()
234 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class()
Dsch_fq_codel.c91 TC_H_MIN(skb->priority) > 0 && in fq_codel_classify()
92 TC_H_MIN(skb->priority) <= q->flows_cnt) in fq_codel_classify()
93 return TC_H_MIN(skb->priority); in fq_codel_classify()
113 if (TC_H_MIN(res.classid) <= q->flows_cnt) in fq_codel_classify()
114 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.c233 TC_H_MIN(i + 1)), extack); in mqprio_init()
473 unsigned int ntx = TC_H_MIN(classid); in mqprio_find()
499 TC_H_MIN(tc + TC_H_MIN_PRIORITY)); in mqprio_dump_class()
505 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class()
608 return mqprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mqprio_select_queue()
Dsch_sfq.c176 TC_H_MIN(skb->priority) > 0 && in sfq_classify()
177 TC_H_MIN(skb->priority) <= q->divisor) in sfq_classify()
178 return TC_H_MIN(skb->priority); in sfq_classify()
198 if (TC_H_MIN(res.classid) <= q->divisor) in sfq_classify()
199 return TC_H_MIN(res.classid); in sfq_classify()
853 tcm->tcm_handle |= TC_H_MIN(cl); in sfq_dump_class()
Dsch_prio.c65 band = TC_H_MIN(band) - 1; in prio_classify()
364 unsigned long band = TC_H_MIN(classid); in prio_find()
386 tcm->tcm_handle |= TC_H_MIN(cl); in prio_dump_class()
Dsch_dsmark.c91 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.c310 unsigned long band = TC_H_MIN(classid); in multiq_find()
333 tcm->tcm_handle |= TC_H_MIN(cl); in multiq_dump_class()
Dcls_api.c583 if (TC_H_MIN(*parent)) { in tcf_block_find()
1221 protocol = TC_H_MIN(t->tcm_info); in tc_new_tfilter()
1370 protocol = TC_H_MIN(t->tcm_info); in tc_del_tfilter()
1485 protocol = TC_H_MIN(t->tcm_info); in tc_get_tfilter()
1583 if (TC_H_MIN(tcm->tcm_info) && in tcf_chain_dump()
1584 TC_H_MIN(tcm->tcm_info) != tp->protocol) in tcf_chain_dump()
1674 if (TC_H_MIN(tcm->tcm_parent)) { in tc_dump_tfilter()
1993 if (TC_H_MIN(tcm->tcm_parent)) { in tc_dump_chain()
Dsch_skbprio.c250 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_cake.c1558 TC_H_MIN(skb->priority) > 0 && in cake_select_tin()
1559 TC_H_MIN(skb->priority) <= q->tin_cnt) { in cake_select_tin()
1560 tin = q->tin_order[TC_H_MIN(skb->priority) - 1]; in cake_select_tin()
1608 if (TC_H_MIN(res.classid) <= CAKE_QUEUES) in cake_classify()
1609 flow = TC_H_MIN(res.classid); in cake_classify()
2889 tcm->tcm_handle |= TC_H_MIN(cl); in cake_dump_class()
Dsch_cbs.c419 tcm->tcm_handle |= TC_H_MIN(1); in cbs_dump_class()
Dsch_red.c375 tcm->tcm_handle |= TC_H_MIN(1); in red_dump_class()
Dsch_tbf.c487 tcm->tcm_handle |= TC_H_MIN(1); in tbf_dump_class()
Dsch_sfb.c276 *salt = TC_H_MIN(res.classid); in sfb_classify()
Dsch_netem.c1180 tcm->tcm_handle |= TC_H_MIN(1); in netem_dump_class()
Dsch_api.c1467 if (TC_H_MIN(tcm->tcm_handle)) { in tc_modify_qdisc()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c88 unsigned int i = TC_H_MIN(opt->parent) - 1; in nfp_abm_red_find()
93 i = TC_H_MIN(opt->parent) - 1; in nfp_abm_red_find()
155 i = TC_H_MIN(opt->parent) - 1; in nfp_abm_red_replace()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c86 TC_H_MIN(parent) > IEEE_8021QAZ_MAX_TCS) in mlxsw_sp_qdisc_find()
89 child_index = TC_H_MIN(parent); in mlxsw_sp_qdisc_find()
/Linux-v4.19/include/uapi/linux/
Dpkt_sched.h70 #define TC_H_MIN(h) ((h)&TC_H_MIN_MASK) macro
/Linux-v4.19/include/net/
Dsch_generic.h535 u32 hwtc = TC_H_MIN(classid) - TC_H_MIN_PRIORITY; in tc_classid_to_hwtc()
/Linux-v4.19/net/core/
Ddev.c3557 skb->tc_index = TC_H_MIN(cl_res.classid); in sch_handle_egress()
4617 skb->tc_index = TC_H_MIN(cl_res.classid); in sch_handle_ingress()