Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/lib/bpf/
A Dnetlink.c526 req->tc.tcm_handle = TC_H_MAKE(TC_H_CLSACT, 0); in clsact_config()
557 *parent = TC_H_MAKE(TC_H_CLSACT, in tc_get_tcm_parent()
748 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in bpf_tc_attach()
825 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in __bpf_tc_detach()
891 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in bpf_tc_query()
/linux-6.3-rc2/net/sched/
A Dcls_flow.c336 res->classid = TC_H_MAKE(f->baseclass, f->baseclass + classid); in flow_classify()
507 baseclass = TC_H_MAKE(q->handle, baseclass); in flow_change()
510 baseclass = TC_H_MAKE(baseclass, 1); in flow_change()
A Dsch_prio.c199 TC_H_MAKE(sch->handle, i + 1), in prio_tune()
295 TC_H_MAKE(sch->handle, arg), extack); in prio_graft()
A Dsch_api.c759 static u32 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle()
762 autohandle += TC_H_MAKE(0x10000U, 0); in qdisc_alloc_handle()
763 if (autohandle == TC_H_MAKE(TC_H_ROOT, 0)) in qdisc_alloc_handle()
764 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle()
1254 handle = TC_H_MAKE(TC_H_INGRESS, 0); in qdisc_create()
2066 portid = TC_H_MAKE(qid, portid); in tc_ctl_tclass()
2087 clid = TC_H_MAKE(qid, clid); in tc_ctl_tclass()
A Dsch_mqprio.c276 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_init()
496 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_dump_class()
A Dsch_fifo.c259 q = qdisc_create_dflt(sch->dev_queue, ops, TC_H_MAKE(sch->handle, 1), in fifo_create_dflt()
A Dsch_mq.c91 TC_H_MAKE(TC_H_MAJ(sch->handle), in mq_init()
A Dsch_multiq.c216 TC_H_MAKE(sch->handle, in multiq_tune()
A Dsch_ets.c102 return TC_H_MAKE(sch->handle, band + 1); in ets_class_id()
A Dsch_htb.c273 cl = htb_find(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in htb_classify()
1131 TC_H_MAKE(sch->handle, 0), extack); in htb_init()
A Dcls_api.c338 u32 first = TC_H_MAKE(0xC0000000U, 0U); in tcf_auto_prio()
1988 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); in tcf_fill_node()
2166 prio = TC_H_MAKE(0x80000000U, 0U); in tc_new_tfilter()
A Dsch_hfsc.c1161 cl = hfsc_find_class(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in hfsc_classify()
A Dsch_taprio.c2063 TC_H_MAKE(TC_H_MAJ(sch->handle), in taprio_init()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dtc_bpf.c152 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-6.3-rc2/tools/bpf/bpftool/
A Dnet.c467 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_INGRESS); in show_dev_tc_bpf()
474 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_EGRESS); in show_dev_tc_bpf()
/linux-6.3-rc2/tools/include/uapi/linux/
A Dpkt_sched.h71 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) macro
/linux-6.3-rc2/include/uapi/linux/
A Dpkt_sched.h72 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) macro
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_qdisc.c1645 parent = TC_H_MAKE(mlxsw_sp_qdisc->handle, band + 1); in mlxsw_sp_qdisc_graft()

Completed in 57 milliseconds