/openbmc/linux/tools/lib/bpf/ |
H A D | netlink.c | 537 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()
|
/openbmc/linux/net/sched/ |
H A D | cls_flow.c | 336 res->classid = TC_H_MAKE(f->baseclass, f->baseclass + classid); in flow_classify() 508 baseclass = TC_H_MAKE(q->handle, baseclass); in flow_change() 511 baseclass = TC_H_MAKE(baseclass, 1); in flow_change()
|
H A D | sch_prio.c | 199 TC_H_MAKE(sch->handle, i + 1), in prio_tune() 295 TC_H_MAKE(sch->handle, arg), extack); in prio_graft()
|
H A D | sch_api.c | 766 static u32 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle() 769 autohandle += TC_H_MAKE(0x10000U, 0); in qdisc_alloc_handle() 770 if (autohandle == TC_H_MAKE(TC_H_ROOT, 0)) in qdisc_alloc_handle() 771 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle() 1290 handle = TC_H_MAKE(TC_H_INGRESS, 0); in qdisc_create() 2143 portid = TC_H_MAKE(qid, portid); in tc_ctl_tclass() 2164 clid = TC_H_MAKE(qid, clid); in tc_ctl_tclass()
|
H A D | sch_fifo.c | 262 q = qdisc_create_dflt(sch->dev_queue, ops, TC_H_MAKE(sch->handle, 1), in fifo_create_dflt()
|
H A D | sch_mq.c | 91 TC_H_MAKE(TC_H_MAJ(sch->handle), in mq_init()
|
H A D | sch_mqprio.c | 402 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_init() 652 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_dump_class()
|
H A D | sch_multiq.c | 216 TC_H_MAKE(sch->handle, in multiq_tune()
|
H A D | sch_ets.c | 104 return TC_H_MAKE(sch->handle, band + 1); in ets_class_id()
|
H A D | sch_htb.c | 272 cl = htb_find(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in htb_classify() 1123 TC_H_MAKE(sch->handle, 0), extack); in htb_init()
|
H A D | cls_api.c | 336 u32 first = TC_H_MAKE(0xC0000000U, 0U); in tcf_auto_prio() 1995 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); in tcf_fill_node() 2173 prio = TC_H_MAKE(0x80000000U, 0U); in tc_new_tfilter()
|
H A D | sch_hfsc.c | 1177 cl = hfsc_find_class(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in hfsc_classify()
|
H A D | sch_taprio.c | 2120 TC_H_MAKE(TC_H_MAJ(sch->handle), in taprio_init()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_bpf.c | 153 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()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | net.c | 553 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()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | pkt_sched.h | 71 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | pkt_sched.h | 72 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) macro
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_qdisc.c | 1645 parent = TC_H_MAKE(mlxsw_sp_qdisc->handle, band + 1); in mlxsw_sp_qdisc_graft()
|