Home
last modified time | relevance | path

Searched refs:TC_H_MAJ (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/include/trace/events/
H A 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))
/openbmc/linux/net/sched/
H A Dsch_api.c811 sch = qdisc_lookup_rcu(qdisc_dev(sch), TC_H_MAJ(parentid)); in qdisc_tree_reduce_backlog()
1503 if (TC_H_MAJ(clid) != TC_H_MAJ(TC_H_INGRESS)) { in tc_get_qdisc()
1504 p = qdisc_lookup(dev, TC_H_MAJ(clid)); in tc_get_qdisc()
1608 p = qdisc_lookup(dev, TC_H_MAJ(clid)); in tc_modify_qdisc()
2119 qid = TC_H_MAJ(clid); in tc_ctl_tclass()
2122 u32 qid1 = TC_H_MAJ(portid); in tc_ctl_tclass()
2235 TC_H_MAJ(tcm->tcm_parent) != q->handle)) { in tc_dump_tclass_qdisc()
2272 q = qdisc_match_from_root(root, TC_H_MAJ(tcm->tcm_parent)); in tc_dump_tclass_root()
H A Dsch_prio.c40 if (TC_H_MAJ(skb->priority) != sch->handle) { in prio_classify()
55 if (TC_H_MAJ(band)) in prio_classify()
H A Dcls_fw.c80 if (id && (TC_H_MAJ(id) == 0 || in fw_classify()
81 !(TC_H_MAJ(id ^ q->handle)))) { in fw_classify()
H A Dsch_mq.c91 TC_H_MAKE(TC_H_MAJ(sch->handle), in mq_init()
H A Dcls_api.c341 return TC_H_MAJ(first); in tcf_auto_prio()
1174 *q = qdisc_lookup_rcu(dev, TC_H_MAJ(*parent)); in __tcf_qdisc_find()
2158 prio = TC_H_MAJ(t->tcm_info); in tc_new_tfilter()
2386 prio = TC_H_MAJ(t->tcm_info); in tc_del_tfilter()
2543 prio = TC_H_MAJ(t->tcm_info); in tc_get_tfilter()
2676 if (TC_H_MAJ(tcm->tcm_info) && in tcf_chain_dump()
2677 TC_H_MAJ(tcm->tcm_info) != tp->prio) in tcf_chain_dump()
2777 q = qdisc_lookup(dev, TC_H_MAJ(tcm->tcm_parent)); in tc_dump_tfilter()
3157 q = qdisc_lookup(dev, TC_H_MAJ(tcm->tcm_parent)); in tc_dump_chain()
H A Dsch_mqprio.c402 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_init()
652 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_dump_class()
H A Dsch_ets.c383 if (TC_H_MAJ(skb->priority) != sch->handle) { in ets_classify()
398 if (TC_H_MAJ(band)) in ets_classify()
H A Dsch_hfsc.c1023 if (classid == 0 || TC_H_MAJ(classid ^ sch->handle) != 0) in hfsc_change_class()
1139 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0 && in hfsc_classify()
1177 cl = hfsc_find_class(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in hfsc_classify()
H A Dsch_htb.c272 cl = htb_find(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in htb_classify()
1136 .parent_classid = TC_H_MAJ(sch->handle) >> 16, in htb_init()
1591 u32 classid = TC_H_MAJ(sch->handle) | in htb_destroy_class_offload()
1836 if (!classid || TC_H_MAJ(classid ^ sch->handle) || in htb_change_class()
H A Dsch_drr.c303 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0) { in drr_classify()
H A Dsch_fq_pie.c88 if (TC_H_MAJ(skb->priority) == sch->handle && in fq_pie_classify()
H A Dcls_bpf.c112 res->classid = TC_H_MAJ(prog->res.classid) | in cls_bpf_classify()
H A Dcls_flow.c505 if (TC_H_MAJ(baseclass) == 0) { in flow_change()
H A Dsch_fq_codel.c84 if (TC_H_MAJ(skb->priority) == sch->handle && in fq_codel_classify()
H A Dsch_cake.c1698 else if (TC_H_MAJ(skb->priority) == sch->handle && in cake_select_tin()
1745 if (TC_H_MAJ(res.classid) <= (CAKE_QUEUES << 16)) in cake_classify()
1746 host = TC_H_MAJ(res.classid) >> 16; in cake_classify()
H A Dsch_sfq.c171 if (TC_H_MAJ(skb->priority) == sch->handle && in sfq_classify()
H A Dsch_qfq.c688 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0) { in qfq_classify()
H A Dsch_taprio.c2120 TC_H_MAKE(TC_H_MAJ(sch->handle), in taprio_init()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dqdisc.c330 TC_H_MAJ(qdisc->handle)) != qdisc); in nfp_abm_qdisc_free()
363 err = radix_tree_insert(&alink->qdiscs, TC_H_MAJ(qdisc->handle), qdisc); in nfp_abm_qdisc_alloc()
383 return radix_tree_lookup(&alink->qdiscs, TC_H_MAJ(handle)); in nfp_abm_qdisc_find()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dselq.c182 if ((TC_H_MAJ(skb->priority) >> 16) == selq->htb_maj_id) in mlx5e_select_htb_queue()
/openbmc/linux/tools/include/uapi/linux/
H A Dpkt_sched.h69 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c151 if (qdisc->ops && TC_H_MAJ(qdisc->handle) == TC_H_MAJ(parent)) { in mlxsw_sp_qdisc_walk_cb_find()
1197 parent_handle = TC_H_MAJ(p->parent); in __mlxsw_sp_setup_tc_fifo()
/openbmc/linux/include/uapi/linux/
H A Dpkt_sched.h70 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro
/openbmc/linux/tools/lib/bpf/
H A Dnetlink.c675 OPTS_SET(info->opts, priority, TC_H_MAJ(tc->tcm_info) >> 16); in __get_tc_info()

12