Home
last modified time | relevance | path

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

/net/sched/
Dsch_api.c889 struct tcmsg *tcm; in tc_fill_qdisc() local
898 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc()
901 tcm = nlmsg_data(nlh); in tc_fill_qdisc()
902 tcm->tcm_family = AF_UNSPEC; in tc_fill_qdisc()
903 tcm->tcm__pad1 = 0; in tc_fill_qdisc()
904 tcm->tcm__pad2 = 0; in tc_fill_qdisc()
905 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tc_fill_qdisc()
906 tcm->tcm_parent = clid; in tc_fill_qdisc()
907 tcm->tcm_handle = q->handle; in tc_fill_qdisc()
908 tcm->tcm_info = refcount_read(&q->refcnt); in tc_fill_qdisc()
[all …]
Dcls_api.c1802 struct tcmsg *tcm; in tcf_fill_node() local
1806 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tcf_fill_node()
1809 tcm = nlmsg_data(nlh); in tcf_fill_node()
1810 tcm->tcm_family = AF_UNSPEC; in tcf_fill_node()
1811 tcm->tcm__pad1 = 0; in tcf_fill_node()
1812 tcm->tcm__pad2 = 0; in tcf_fill_node()
1814 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tcf_fill_node()
1815 tcm->tcm_parent = parent; in tcf_fill_node()
1817 tcm->tcm_ifindex = TCM_IFINDEX_MAGIC_BLOCK; in tcf_fill_node()
1818 tcm->tcm_block_index = block->index; in tcf_fill_node()
[all …]
Dsch_mq.c208 struct tcmsg *tcm) in mq_select_queue() argument
210 return mq_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mq_select_queue()
256 struct sk_buff *skb, struct tcmsg *tcm) in mq_dump_class() argument
260 tcm->tcm_parent = TC_H_ROOT; in mq_dump_class()
261 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class()
262 tcm->tcm_info = dev_queue->qdisc_sleeping->handle; in mq_dump_class()
Dsch_mqprio.c553 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() argument
560 tcm->tcm_parent = (tc < 0) ? 0 : in mqprio_dump_class()
563 tcm->tcm_info = dev_queue->qdisc_sleeping->handle; in mqprio_dump_class()
565 tcm->tcm_parent = TC_H_ROOT; in mqprio_dump_class()
566 tcm->tcm_info = 0; in mqprio_dump_class()
568 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class()
674 struct tcmsg *tcm) in mqprio_select_queue() argument
676 return mqprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mqprio_select_queue()
Dsch_drr.c237 struct sk_buff *skb, struct tcmsg *tcm) in drr_dump_class() argument
242 tcm->tcm_parent = TC_H_ROOT; in drr_dump_class()
243 tcm->tcm_handle = cl->common.classid; in drr_dump_class()
244 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.c531 struct sk_buff *skb, struct tcmsg *tcm) in tbf_dump_class() argument
535 tcm->tcm_handle |= TC_H_MIN(1); in tbf_dump_class()
536 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.c473 struct sk_buff *skb, struct tcmsg *tcm) in red_dump_class() argument
477 tcm->tcm_handle |= TC_H_MIN(1); in red_dump_class()
478 tcm->tcm_info = q->qdisc->handle; in red_dump_class()
Dsch_taprio.c1982 struct sk_buff *skb, struct tcmsg *tcm) in taprio_dump_class() argument
1986 tcm->tcm_parent = TC_H_ROOT; in taprio_dump_class()
1987 tcm->tcm_handle |= TC_H_MIN(cl); in taprio_dump_class()
1988 tcm->tcm_info = dev_queue->qdisc_sleeping->handle; in taprio_dump_class()
2026 struct tcmsg *tcm) in taprio_select_queue() argument
2028 return taprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in taprio_select_queue()
Dsch_htb.c1261 struct sk_buff *skb, struct tcmsg *tcm) in htb_dump_class() argument
1271 tcm->tcm_parent = cl->parent ? cl->parent->common.classid : TC_H_ROOT; in htb_dump_class()
1272 tcm->tcm_handle = cl->common.classid; in htb_dump_class()
1274 tcm->tcm_info = cl->leaf.q->handle; in htb_dump_class()
1379 htb_select_queue(struct Qdisc *sch, struct tcmsg *tcm) in htb_select_queue() argument
1391 .classid = TC_H_MIN(tcm->tcm_parent), in htb_select_queue()
Dsch_qfq.c619 struct sk_buff *skb, struct tcmsg *tcm) in qfq_dump_class() argument
624 tcm->tcm_parent = TC_H_ROOT; in qfq_dump_class()
625 tcm->tcm_handle = cl->common.classid; in qfq_dump_class()
626 tcm->tcm_info = cl->qdisc->handle; in qfq_dump_class()
Dsch_hfsc.c1308 struct tcmsg *tcm) in hfsc_dump_class() argument
1313 tcm->tcm_parent = cl->cl_parent ? cl->cl_parent->cl_common.classid : in hfsc_dump_class()
1315 tcm->tcm_handle = cl->cl_common.classid; in hfsc_dump_class()
1317 tcm->tcm_info = cl->qdisc->handle; in hfsc_dump_class()
Dsch_netem.c1216 struct sk_buff *skb, struct tcmsg *tcm) in netem_dump_class() argument
1223 tcm->tcm_handle |= TC_H_MIN(1); in netem_dump_class()
1224 tcm->tcm_info = q->qdisc->handle; in netem_dump_class()
Dsch_fq_codel.c614 struct sk_buff *skb, struct tcmsg *tcm) in fq_codel_dump_class() argument
616 tcm->tcm_handle |= TC_H_MIN(cl); in fq_codel_dump_class()
Dsch_sfq.c856 struct sk_buff *skb, struct tcmsg *tcm) in sfq_dump_class() argument
858 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.c2979 struct sk_buff *skb, struct tcmsg *tcm) in cake_dump_class() argument
2981 tcm->tcm_handle |= TC_H_MIN(cl); in cake_dump_class()