/linux-5.19.10/tools/lib/bpf/ |
D | netlink.c | 476 req->tc.tcm_handle = TC_H_MAKE(TC_H_CLSACT, 0); in clsact_config() 507 *parent = TC_H_MAKE(TC_H_CLSACT, in tc_get_tcm_parent() 697 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in bpf_tc_attach() 773 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in __bpf_tc_detach() 839 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in bpf_tc_query()
|
/linux-5.19.10/net/sched/ |
D | cls_flow.c | 334 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()
|
D | sch_prio.c | 201 TC_H_MAKE(sch->handle, i + 1), in prio_tune() 297 TC_H_MAKE(sch->handle, arg), extack); in prio_graft()
|
D | sch_api.c | 757 static u32 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle() 760 autohandle += TC_H_MAKE(0x10000U, 0); in qdisc_alloc_handle() 761 if (autohandle == TC_H_MAKE(TC_H_ROOT, 0)) in qdisc_alloc_handle() 762 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle() 1221 handle = TC_H_MAKE(TC_H_INGRESS, 0); in qdisc_create() 2045 portid = TC_H_MAKE(qid, portid); in tc_ctl_tclass() 2066 clid = TC_H_MAKE(qid, clid); in tc_ctl_tclass()
|
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_fifo.c | 259 q = qdisc_create_dflt(sch->dev_queue, ops, TC_H_MAKE(sch->handle, 1), in fifo_create_dflt()
|
D | sch_mq.c | 91 TC_H_MAKE(TC_H_MAJ(sch->handle), in mq_init()
|
D | sch_multiq.c | 217 TC_H_MAKE(sch->handle, in multiq_tune()
|
D | sch_dsmark.c | 439 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1); in dsmark_dump_class()
|
D | sch_atm.c | 274 classid = TC_H_MAKE(sch->handle, 0x8000 | i); in atm_tc_change()
|
D | cls_tcindex.c | 118 res->classid = TC_H_MAKE(TC_H_MAJ(q->handle), key); in tcindex_classify()
|
D | sch_ets.c | 102 return TC_H_MAKE(sch->handle, band + 1); in ets_class_id()
|
D | sch_htb.c | 269 cl = htb_find(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in htb_classify() 1128 TC_H_MAKE(sch->handle, 0), extack); in htb_init()
|
D | cls_api.c | 232 u32 first = TC_H_MAKE(0xC0000000U, 0U); in tcf_auto_prio() 1838 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); in tcf_fill_node() 2007 prio = TC_H_MAKE(0x80000000U, 0U); in tc_new_tfilter()
|
D | sch_hfsc.c | 1161 cl = hfsc_find_class(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in hfsc_classify()
|
D | sch_cbq.c | 1581 classid = TC_H_MAKE(sch->handle, 0x8000); in cbq_change_class()
|
D | sch_taprio.c | 1728 TC_H_MAKE(TC_H_MAJ(sch->handle), in taprio_init()
|
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/ |
D | tc_bpf.c | 152 inv_hook.parent = TC_H_MAKE(1UL << 16, 10); in test_tc_bpf_api() 353 hook.parent = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_INGRESS); in test_tc_bpf()
|
/linux-5.19.10/tools/bpf/bpftool/ |
D | net.c | 465 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_INGRESS); in show_dev_tc_bpf() 472 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_EGRESS); in show_dev_tc_bpf()
|
/linux-5.19.10/tools/include/uapi/linux/ |
D | pkt_sched.h | 71 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) macro
|
/linux-5.19.10/include/uapi/linux/ |
D | pkt_sched.h | 72 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) macro
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_qdisc.c | 1645 parent = TC_H_MAKE(mlxsw_sp_qdisc->handle, band + 1); in mlxsw_sp_qdisc_graft()
|