Home
last modified time | relevance | path

Searched refs:TC_H_MAKE (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.4/tools/bpf/bpftool/
Dnet.c200 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_INGRESS); in show_dev_tc_bpf()
207 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_EGRESS); in show_dev_tc_bpf()
/Linux-v5.4/net/sched/
Dcls_flow.c334 res->classid = TC_H_MAKE(f->baseclass, f->baseclass + classid); in flow_classify()
505 baseclass = TC_H_MAKE(q->handle, baseclass); in flow_change()
508 baseclass = TC_H_MAKE(baseclass, 1); in flow_change()
Dsch_fifo.c171 q = qdisc_create_dflt(sch->dev_queue, ops, TC_H_MAKE(sch->handle, 1), in fifo_create_dflt()
Dsch_api.c739 static u32 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle()
742 autohandle += TC_H_MAKE(0x10000U, 0); in qdisc_alloc_handle()
743 if (autohandle == TC_H_MAKE(TC_H_ROOT, 0)) in qdisc_alloc_handle()
744 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle()
1205 handle = TC_H_MAKE(TC_H_INGRESS, 0); in qdisc_create()
2020 portid = TC_H_MAKE(qid, portid); in tc_ctl_tclass()
2041 clid = TC_H_MAKE(qid, clid); in tc_ctl_tclass()
Dsch_mqprio.c230 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_init()
496 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_multiq.c217 TC_H_MAKE(sch->handle, in multiq_tune()
Dsch_prio.c201 TC_H_MAKE(sch->handle, i + 1), in prio_tune()
Dsch_dsmark.c437 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1); in dsmark_dump_class()
Dsch_atm.c274 classid = TC_H_MAKE(sch->handle, 0x8000 | i); in atm_tc_change()
Dcls_tcindex.c99 res->classid = TC_H_MAKE(TC_H_MAJ(q->handle), key); in tcindex_classify()
Dcls_api.c214 u32 first = TC_H_MAKE(0xC0000000U, 0U); in tcf_auto_prio()
1812 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); in tcf_fill_node()
1974 prio = TC_H_MAKE(0x80000000U, 0U); in tc_new_tfilter()
Dsch_hfsc.c1162 cl = hfsc_find_class(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in hfsc_classify()
Dsch_htb.c262 cl = htb_find(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in htb_classify()
Dsch_cbq.c1583 classid = TC_H_MAKE(sch->handle, 0x8000); in cbq_change_class()
Dsch_taprio.c1629 TC_H_MAKE(TC_H_MAJ(sch->handle), in taprio_init()
/Linux-v5.4/tools/include/uapi/linux/
Dpkt_sched.h71 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) macro
/Linux-v5.4/include/uapi/linux/
Dpkt_sched.h72 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) macro