/linux-6.1.9/include/trace/events/ |
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))
|
/linux-6.1.9/net/sched/ |
D | sch_api.c | 786 if (TC_H_MAJ(parentid) == TC_H_MAJ(TC_H_INGRESS)) in qdisc_tree_reduce_backlog() 803 sch = qdisc_lookup(qdisc_dev(sch), TC_H_MAJ(parentid)); in qdisc_tree_reduce_backlog() 1463 if (TC_H_MAJ(clid) != TC_H_MAJ(TC_H_INGRESS)) { in tc_get_qdisc() 1464 p = qdisc_lookup(dev, TC_H_MAJ(clid)); in tc_get_qdisc() 1550 p = qdisc_lookup(dev, TC_H_MAJ(clid)); in tc_modify_qdisc() 2038 qid = TC_H_MAJ(clid); in tc_ctl_tclass() 2041 u32 qid1 = TC_H_MAJ(portid); in tc_ctl_tclass() 2154 TC_H_MAJ(tcm->tcm_parent) != q->handle)) { in tc_dump_tclass_qdisc() 2191 q = qdisc_match_from_root(root, TC_H_MAJ(tcm->tcm_parent)); in tc_dump_tclass_root()
|
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()
|
D | cls_fw.c | 78 if (id && (TC_H_MAJ(id) == 0 || in fw_classify() 79 !(TC_H_MAJ(id ^ q->handle)))) { in fw_classify()
|
D | sch_dsmark.c | 236 if (TC_H_MAJ(skb->priority) == sch->handle) in dsmark_enqueue() 433 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1); in dsmark_dump_class()
|
D | sch_mqprio.c | 230 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_init() 483 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_dump_class()
|
D | sch_mq.c | 91 TC_H_MAKE(TC_H_MAJ(sch->handle), in mq_init()
|
D | sch_atm.c | 264 if (TC_H_MAJ(classid ^ sch->handle)) { in atm_tc_change() 386 if (TC_H_MAJ(skb->priority) != sch->handle || in atm_tc_enqueue()
|
D | cls_api.c | 238 return TC_H_MAJ(first); in tcf_auto_prio() 1068 *q = qdisc_lookup_rcu(dev, TC_H_MAJ(*parent)); in __tcf_qdisc_find() 1990 prio = TC_H_MAJ(t->tcm_info); in tc_new_tfilter() 2216 prio = TC_H_MAJ(t->tcm_info); in tc_del_tfilter() 2373 prio = TC_H_MAJ(t->tcm_info); in tc_get_tfilter() 2506 if (TC_H_MAJ(tcm->tcm_info) && in tcf_chain_dump() 2507 TC_H_MAJ(tcm->tcm_info) != tp->prio) in tcf_chain_dump() 2607 q = qdisc_lookup(dev, TC_H_MAJ(tcm->tcm_parent)); in tc_dump_tfilter() 2978 q = qdisc_lookup(dev, TC_H_MAJ(tcm->tcm_parent)); in tc_dump_chain()
|
D | sch_cbq.c | 217 if (TC_H_MAJ(prio ^ sch->handle) == 0 && in cbq_classify() 238 if (TC_H_MAJ(res.classid)) in cbq_classify() 276 if (TC_H_MAJ(prio) == 0 && in cbq_classify() 1493 if (TC_H_MAJ(classid ^ sch->handle) || in cbq_change_class()
|
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()
|
D | sch_hfsc.c | 1016 if (classid == 0 || TC_H_MAJ(classid ^ sch->handle) != 0) in hfsc_change_class() 1123 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0 && in hfsc_classify() 1161 cl = hfsc_find_class(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in hfsc_classify()
|
D | sch_htb.c | 269 cl = htb_find(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in htb_classify() 1138 .parent_classid = TC_H_MAJ(sch->handle) >> 16, in htb_init() 1594 u32 classid = TC_H_MAJ(sch->handle) | in htb_destroy_class_offload() 1848 if (!classid || TC_H_MAJ(classid ^ sch->handle) || in htb_change_class()
|
D | sch_drr.c | 302 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0) { in drr_classify()
|
D | sch_fq_pie.c | 87 if (TC_H_MAJ(skb->priority) == sch->handle && in fq_pie_classify()
|
D | cls_bpf.c | 110 res->classid = TC_H_MAJ(prog->res.classid) | in cls_bpf_classify()
|
D | cls_flow.c | 502 if (TC_H_MAJ(baseclass) == 0) { in flow_change()
|
D | cls_tcindex.c | 118 res->classid = TC_H_MAKE(TC_H_MAJ(q->handle), key); in tcindex_classify()
|
D | sch_fq_codel.c | 84 if (TC_H_MAJ(skb->priority) == sch->handle && in fq_codel_classify()
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/abm/ |
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()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | selq.c | 180 if ((TC_H_MAJ(skb->priority) >> 16) == selq->htb_maj_id) in mlx5e_select_htb_queue()
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | pkt_sched.h | 69 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro
|
/linux-6.1.9/include/uapi/linux/ |
D | pkt_sched.h | 70 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
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()
|
/linux-6.1.9/tools/lib/bpf/ |
D | netlink.c | 568 OPTS_SET(info->opts, priority, TC_H_MAJ(tc->tcm_info) >> 16); in __get_tc_info()
|