Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/trace/events/
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))
/linux-6.1.9/net/sched/
Dsch_api.c786 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()
Dsch_prio.c40 if (TC_H_MAJ(skb->priority) != sch->handle) { in prio_classify()
55 if (TC_H_MAJ(band)) in prio_classify()
Dcls_fw.c78 if (id && (TC_H_MAJ(id) == 0 || in fw_classify()
79 !(TC_H_MAJ(id ^ q->handle)))) { in fw_classify()
Dsch_dsmark.c236 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()
Dsch_mqprio.c230 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_init()
483 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_dump_class()
Dsch_mq.c91 TC_H_MAKE(TC_H_MAJ(sch->handle), in mq_init()
Dsch_atm.c264 if (TC_H_MAJ(classid ^ sch->handle)) { in atm_tc_change()
386 if (TC_H_MAJ(skb->priority) != sch->handle || in atm_tc_enqueue()
Dcls_api.c238 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()
Dsch_cbq.c217 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()
Dsch_ets.c383 if (TC_H_MAJ(skb->priority) != sch->handle) { in ets_classify()
398 if (TC_H_MAJ(band)) in ets_classify()
Dsch_hfsc.c1016 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()
Dsch_htb.c269 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()
Dsch_drr.c302 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0) { in drr_classify()
Dsch_fq_pie.c87 if (TC_H_MAJ(skb->priority) == sch->handle && in fq_pie_classify()
Dcls_bpf.c110 res->classid = TC_H_MAJ(prog->res.classid) | in cls_bpf_classify()
Dcls_flow.c502 if (TC_H_MAJ(baseclass) == 0) { in flow_change()
Dcls_tcindex.c118 res->classid = TC_H_MAKE(TC_H_MAJ(q->handle), key); in tcindex_classify()
Dsch_fq_codel.c84 if (TC_H_MAJ(skb->priority) == sch->handle && in fq_codel_classify()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/abm/
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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dselq.c180 if ((TC_H_MAJ(skb->priority) >> 16) == selq->htb_maj_id) in mlx5e_select_htb_queue()
/linux-6.1.9/tools/include/uapi/linux/
Dpkt_sched.h69 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro
/linux-6.1.9/include/uapi/linux/
Dpkt_sched.h70 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
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()
/linux-6.1.9/tools/lib/bpf/
Dnetlink.c568 OPTS_SET(info->opts, priority, TC_H_MAJ(tc->tcm_info) >> 16); in __get_tc_info()

12