Home
last modified time | relevance | path

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

/Linux-v6.6/tools/lib/bpf/
Dnetlink.c537 req->tc.tcm_handle = TC_H_MAKE(TC_H_CLSACT, 0); in clsact_config()
568 *parent = TC_H_MAKE(TC_H_CLSACT, in tc_get_tcm_parent()
759 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in bpf_tc_attach()
836 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in __bpf_tc_detach()
902 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in bpf_tc_query()
/Linux-v6.6/net/sched/
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()
Dsch_prio.c199 TC_H_MAKE(sch->handle, i + 1), in prio_tune()
295 TC_H_MAKE(sch->handle, arg), extack); in prio_graft()
Dsch_api.c767 static u32 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle()
770 autohandle += TC_H_MAKE(0x10000U, 0); in qdisc_alloc_handle()
771 if (autohandle == TC_H_MAKE(TC_H_ROOT, 0)) in qdisc_alloc_handle()
772 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle()
1285 handle = TC_H_MAKE(TC_H_INGRESS, 0); in qdisc_create()
2133 portid = TC_H_MAKE(qid, portid); in tc_ctl_tclass()
2154 clid = TC_H_MAKE(qid, clid); in tc_ctl_tclass()
Dsch_fifo.c259 q = qdisc_create_dflt(sch->dev_queue, ops, TC_H_MAKE(sch->handle, 1), in fifo_create_dflt()
Dsch_mq.c91 TC_H_MAKE(TC_H_MAJ(sch->handle), in mq_init()
Dsch_mqprio.c402 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_init()
652 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_dump_class()
Dsch_multiq.c216 TC_H_MAKE(sch->handle, in multiq_tune()
Dsch_ets.c102 return TC_H_MAKE(sch->handle, band + 1); in ets_class_id()
Dsch_htb.c272 cl = htb_find(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in htb_classify()
1130 TC_H_MAKE(sch->handle, 0), extack); in htb_init()
Dcls_api.c336 u32 first = TC_H_MAKE(0xC0000000U, 0U); in tcf_auto_prio()
1989 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); in tcf_fill_node()
2167 prio = TC_H_MAKE(0x80000000U, 0U); in tc_new_tfilter()
Dsch_hfsc.c1177 cl = hfsc_find_class(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in hfsc_classify()
Dsch_taprio.c2117 TC_H_MAKE(TC_H_MAJ(sch->handle), in taprio_init()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dtc_bpf.c153 inv_hook.parent = TC_H_MAKE(1UL << 16, 10); in test_tc_bpf_api()
354 hook.parent = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_INGRESS); in tc_bpf_root()
/Linux-v6.6/tools/bpf/bpftool/
Dnet.c553 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_INGRESS); in show_dev_tc_bpf_classic()
560 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_EGRESS); in show_dev_tc_bpf_classic()
/Linux-v6.6/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-v6.6/include/uapi/linux/
Dpkt_sched.h72 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) macro
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c1645 parent = TC_H_MAKE(mlxsw_sp_qdisc->handle, band + 1); in mlxsw_sp_qdisc_graft()