Home
last modified time | relevance | path

Searched refs:tcm (Results 1 – 21 of 21) sorted by relevance

/net/sched/
Dsch_api.c915 struct tcmsg *tcm; in tc_fill_qdisc() local
924 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc()
927 tcm = nlmsg_data(nlh); in tc_fill_qdisc()
928 tcm->tcm_family = AF_UNSPEC; in tc_fill_qdisc()
929 tcm->tcm__pad1 = 0; in tc_fill_qdisc()
930 tcm->tcm__pad2 = 0; in tc_fill_qdisc()
931 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tc_fill_qdisc()
932 tcm->tcm_parent = clid; in tc_fill_qdisc()
933 tcm->tcm_handle = q->handle; in tc_fill_qdisc()
934 tcm->tcm_info = refcount_read(&q->refcnt); in tc_fill_qdisc()
[all …]
Dcls_api.c1824 struct tcmsg *tcm; in tcf_fill_node() local
1828 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tcf_fill_node()
1831 tcm = nlmsg_data(nlh); in tcf_fill_node()
1832 tcm->tcm_family = AF_UNSPEC; in tcf_fill_node()
1833 tcm->tcm__pad1 = 0; in tcf_fill_node()
1834 tcm->tcm__pad2 = 0; in tcf_fill_node()
1836 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tcf_fill_node()
1837 tcm->tcm_parent = parent; in tcf_fill_node()
1839 tcm->tcm_ifindex = TCM_IFINDEX_MAGIC_BLOCK; in tcf_fill_node()
1840 tcm->tcm_block_index = block->index; in tcf_fill_node()
[all …]
Dsch_mq.c170 struct tcmsg *tcm) in mq_select_queue() argument
172 return mq_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mq_select_queue()
218 struct sk_buff *skb, struct tcmsg *tcm) in mq_dump_class() argument
222 tcm->tcm_parent = TC_H_ROOT; in mq_dump_class()
223 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class()
224 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle; in mq_dump_class()
Dsch_mqprio.c517 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() argument
524 tcm->tcm_parent = (tc < 0) ? 0 : in mqprio_dump_class()
527 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle; in mqprio_dump_class()
529 tcm->tcm_parent = TC_H_ROOT; in mqprio_dump_class()
530 tcm->tcm_info = 0; in mqprio_dump_class()
532 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class()
624 struct tcmsg *tcm) in mqprio_select_queue() argument
626 return mqprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mqprio_select_queue()
Dsch_drr.c235 struct sk_buff *skb, struct tcmsg *tcm) in drr_dump_class() argument
240 tcm->tcm_parent = TC_H_ROOT; in drr_dump_class()
241 tcm->tcm_handle = cl->common.classid; in drr_dump_class()
242 tcm->tcm_info = cl->qdisc->handle; in drr_dump_class()
Dsch_multiq.c324 struct sk_buff *skb, struct tcmsg *tcm) in multiq_dump_class() argument
328 tcm->tcm_handle |= TC_H_MIN(cl); in multiq_dump_class()
329 tcm->tcm_info = q->queues[cl - 1]->handle; in multiq_dump_class()
Dsch_prio.c346 struct tcmsg *tcm) in prio_dump_class() argument
350 tcm->tcm_handle |= TC_H_MIN(cl); in prio_dump_class()
351 tcm->tcm_info = q->queues[cl-1]->handle; in prio_dump_class()
Dsch_cbs.c479 struct sk_buff *skb, struct tcmsg *tcm) in cbs_dump_class() argument
486 tcm->tcm_handle |= TC_H_MIN(1); in cbs_dump_class()
487 tcm->tcm_info = q->qdisc->handle; in cbs_dump_class()
Dsch_skbprio.c244 struct sk_buff *skb, struct tcmsg *tcm) in skbprio_dump_class() argument
246 tcm->tcm_handle |= TC_H_MIN(cl); in skbprio_dump_class()
Dsch_tbf.c545 struct sk_buff *skb, struct tcmsg *tcm) in tbf_dump_class() argument
549 tcm->tcm_handle |= TC_H_MIN(1); in tbf_dump_class()
550 tcm->tcm_info = q->qdisc->handle; in tbf_dump_class()
Dsch_ets.c298 struct sk_buff *skb, struct tcmsg *tcm) in ets_class_dump() argument
304 tcm->tcm_parent = TC_H_ROOT; in ets_class_dump()
305 tcm->tcm_handle = ets_class_id(sch, cl); in ets_class_dump()
306 tcm->tcm_info = cl->qdisc->handle; in ets_class_dump()
Dsch_red.c472 struct sk_buff *skb, struct tcmsg *tcm) in red_dump_class() argument
476 tcm->tcm_handle |= TC_H_MIN(1); in red_dump_class()
477 tcm->tcm_info = q->qdisc->handle; in red_dump_class()
Dsch_taprio.c2077 struct sk_buff *skb, struct tcmsg *tcm) in taprio_dump_class() argument
2081 tcm->tcm_parent = TC_H_ROOT; in taprio_dump_class()
2082 tcm->tcm_handle |= TC_H_MIN(cl); in taprio_dump_class()
2083 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle; in taprio_dump_class()
2118 struct tcmsg *tcm) in taprio_select_queue() argument
2120 return taprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in taprio_select_queue()
Dsch_htb.c1246 struct sk_buff *skb, struct tcmsg *tcm) in htb_dump_class() argument
1256 tcm->tcm_parent = cl->parent ? cl->parent->common.classid : TC_H_ROOT; in htb_dump_class()
1257 tcm->tcm_handle = cl->common.classid; in htb_dump_class()
1259 tcm->tcm_info = cl->leaf.q->handle; in htb_dump_class()
1366 htb_select_queue(struct Qdisc *sch, struct tcmsg *tcm) in htb_select_queue() argument
1378 .classid = TC_H_MIN(tcm->tcm_parent), in htb_select_queue()
Dsch_qfq.c620 struct sk_buff *skb, struct tcmsg *tcm) in qfq_dump_class() argument
625 tcm->tcm_parent = TC_H_ROOT; in qfq_dump_class()
626 tcm->tcm_handle = cl->common.classid; in qfq_dump_class()
627 tcm->tcm_info = cl->qdisc->handle; in qfq_dump_class()
Dsch_hfsc.c1306 struct tcmsg *tcm) in hfsc_dump_class() argument
1311 tcm->tcm_parent = cl->cl_parent ? cl->cl_parent->cl_common.classid : in hfsc_dump_class()
1313 tcm->tcm_handle = cl->cl_common.classid; in hfsc_dump_class()
1315 tcm->tcm_info = cl->qdisc->handle; in hfsc_dump_class()
Dsch_netem.c1213 struct sk_buff *skb, struct tcmsg *tcm) in netem_dump_class() argument
1220 tcm->tcm_handle |= TC_H_MIN(1); in netem_dump_class()
1221 tcm->tcm_info = q->qdisc->handle; in netem_dump_class()
Dsch_fq_codel.c623 struct sk_buff *skb, struct tcmsg *tcm) in fq_codel_dump_class() argument
625 tcm->tcm_handle |= TC_H_MIN(cl); in fq_codel_dump_class()
Dsch_sfq.c859 struct sk_buff *skb, struct tcmsg *tcm) in sfq_dump_class() argument
861 tcm->tcm_handle |= TC_H_MIN(cl); in sfq_dump_class()
Dsch_sfb.c614 struct sk_buff *skb, struct tcmsg *tcm) in sfb_dump_class() argument
Dsch_cake.c2976 struct sk_buff *skb, struct tcmsg *tcm) in cake_dump_class() argument
2978 tcm->tcm_handle |= TC_H_MIN(cl); in cake_dump_class()