/openbmc/linux/include/trace/events/ |
H A D | qdisc.h | 98 __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 D | sch_api.c | 811 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 D | sch_prio.c | 40 if (TC_H_MAJ(skb->priority) != sch->handle) { in prio_classify() 55 if (TC_H_MAJ(band)) in prio_classify()
|
H A D | cls_fw.c | 80 if (id && (TC_H_MAJ(id) == 0 || in fw_classify() 81 !(TC_H_MAJ(id ^ q->handle)))) { in fw_classify()
|
H A D | sch_mq.c | 91 TC_H_MAKE(TC_H_MAJ(sch->handle), in mq_init()
|
H A D | cls_api.c | 341 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 D | sch_mqprio.c | 402 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 D | sch_ets.c | 383 if (TC_H_MAJ(skb->priority) != sch->handle) { in ets_classify() 398 if (TC_H_MAJ(band)) in ets_classify()
|
H A D | sch_hfsc.c | 1023 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 D | sch_htb.c | 272 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 D | sch_drr.c | 303 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0) { in drr_classify()
|
H A D | sch_fq_pie.c | 88 if (TC_H_MAJ(skb->priority) == sch->handle && in fq_pie_classify()
|
H A D | cls_bpf.c | 112 res->classid = TC_H_MAJ(prog->res.classid) | in cls_bpf_classify()
|
H A D | cls_flow.c | 505 if (TC_H_MAJ(baseclass) == 0) { in flow_change()
|
H A D | sch_fq_codel.c | 84 if (TC_H_MAJ(skb->priority) == sch->handle && in fq_codel_classify()
|
H A D | sch_cake.c | 1698 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 D | sch_sfq.c | 171 if (TC_H_MAJ(skb->priority) == sch->handle && in sfq_classify()
|
H A D | sch_qfq.c | 688 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0) { in qfq_classify()
|
H A D | sch_taprio.c | 2120 TC_H_MAKE(TC_H_MAJ(sch->handle), in taprio_init()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | qdisc.c | 330 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 D | selq.c | 182 if ((TC_H_MAJ(skb->priority) >> 16) == selq->htb_maj_id) in mlx5e_select_htb_queue()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | pkt_sched.h | 69 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_qdisc.c | 151 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 D | pkt_sched.h | 70 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro
|
/openbmc/linux/tools/lib/bpf/ |
H A D | netlink.c | 675 OPTS_SET(info->opts, priority, TC_H_MAJ(tc->tcm_info) >> 16); in __get_tc_info()
|