Home
last modified time | relevance | path

Searched refs:dev_queue (Results 1 – 25 of 27) sorted by relevance

12

/linux/net/sched/
H A Dsch_mq.c72 struct netdev_queue *dev_queue; in mq_init() local
89 dev_queue = netdev_get_tx_queue(dev, ntx); in mq_init()
90 qdisc = qdisc_create_dflt(dev_queue, get_default_qdisc_ops(dev, ntx), in mq_init()
115 old = dev_graft_qdisc(qdisc->dev_queue, qdisc); in mq_attach()
178 struct netdev_queue *dev_queue = mq_queue_get(sch, cl); in mq_graft() local
185 *old = dev_graft_qdisc(dev_queue, new); in mq_graft()
203 struct netdev_queue *dev_queue = mq_queue_get(sch, cl); in mq_leaf() local
205 return rtnl_dereference(dev_queue->qdisc_sleeping); in mq_leaf()
220 struct netdev_queue *dev_queue = mq_queue_get(sch, cl); in mq_dump_class() local
224 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle; in mq_dump_class()
[all …]
H A Dsch_generic.c76 const struct netdev_queue *txq = q->dev_queue; in __skb_dequeue_bad_txq()
236 const struct netdev_queue *txq = q->dev_queue; in dequeue_skb()
671 .dev_queue = &noop_netdev_queue,
935 struct Qdisc *qdisc_alloc(struct netdev_queue *dev_queue, in qdisc_alloc() argument
944 if (!dev_queue) { in qdisc_alloc()
950 dev = dev_queue->dev; in qdisc_alloc()
951 sch = kzalloc_node(size, GFP_KERNEL, netdev_queue_numa_node_read(dev_queue)); in qdisc_alloc()
984 sch->dev_queue = dev_queue; in qdisc_alloc()
996 struct Qdisc *qdisc_create_dflt(struct netdev_queue *dev_queue, in qdisc_create_dflt() argument
1008 sch = qdisc_alloc(dev_queue, ops, extack); in qdisc_create_dflt()
[all …]
H A Dsch_htb.c1122 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_init() local
1125 qdisc = qdisc_create_dflt(dev_queue, &pfifo_qdisc_ops, in htb_init()
1164 old = dev_graft_qdisc(qdisc->dev_queue, qdisc); in htb_attach_offload()
1169 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_attach_offload() local
1170 struct Qdisc *old = dev_graft_qdisc(dev_queue, NULL); in htb_attach_offload()
1186 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_attach_software() local
1187 struct Qdisc *old = dev_graft_qdisc(dev_queue, sch); in htb_attach_software()
1372 return sch->dev_queue; in htb_select_queue()
1385 htb_graft_helper(struct netdev_queue *dev_queue, struct Qdisc *new_q) in htb_graft_helper() argument
1387 struct net_device *dev = dev_queue->dev; in htb_graft_helper()
[all …]
H A Dsch_mqprio.c350 struct netdev_queue *dev_queue; in mqprio_init() local
397 dev_queue = netdev_get_tx_queue(dev, i); in mqprio_init()
398 qdisc = qdisc_create_dflt(dev_queue, in mqprio_init()
442 old = dev_graft_qdisc(qdisc->dev_queue, qdisc); in mqprio_attach()
467 struct netdev_queue *dev_queue = mqprio_queue_get(sch, cl); in mqprio_graft() local
469 if (!dev_queue) in mqprio_graft()
475 *old = dev_graft_qdisc(dev_queue, new); in mqprio_graft()
614 struct netdev_queue *dev_queue = mqprio_queue_get(sch, cl); in mqprio_leaf() local
616 if (!dev_queue) in mqprio_leaf()
619 return rtnl_dereference(dev_queue->qdisc_sleeping); in mqprio_leaf()
[all …]
H A Dsch_api.c1097 struct netdev_queue *dev_queue; in qdisc_graft() local
1104 dev_queue = dev_ingress_queue(dev); in qdisc_graft()
1105 if (!dev_queue) { in qdisc_graft()
1110 q = rtnl_dereference(dev_queue->qdisc_sleeping); in qdisc_graft()
1132 dev_queue = netdev_get_tx_queue(dev, i); in qdisc_graft()
1133 old = dev_graft_qdisc(dev_queue, new); in qdisc_graft()
1140 old = dev_graft_qdisc(dev_queue, NULL); in qdisc_graft()
1149 dev_graft_qdisc(dev_queue, new); in qdisc_graft()
1245 struct netdev_queue *dev_queue, in qdisc_create() argument
1263 sch = qdisc_alloc(dev_queue, ops, extack); in qdisc_create()
[all …]
H A Dsch_plug.c184 netif_schedule_queue(sch->dev_queue); in plug_change()
192 netif_schedule_queue(sch->dev_queue); in plug_change()
H A Dsch_prio.c198 queues[i] = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in prio_tune()
294 new = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in prio_graft()
H A Dsch_taprio.c2103 struct netdev_queue *dev_queue; in taprio_init()
2106 dev_queue = netdev_get_tx_queue(dev, i); in taprio_init()
2107 qdisc = qdisc_create_dflt(dev_queue, in taprio_init()
2137 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in taprio_attach()
2155 old = dev_graft_qdisc(dev_queue, dev_queue_qdisc); in taprio_attach()
2183 struct netdev_queue *dev_queue = taprio_queue_get(sch, cl); in taprio_graft()
2185 if (!dev_queue) in taprio_graft()
2200 WARN_ON_ONCE(dev_graft_qdisc(dev_queue, new) != *old); in taprio_graft()
2102 struct netdev_queue *dev_queue; taprio_init() local
2136 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); taprio_attach() local
2182 struct netdev_queue *dev_queue = taprio_queue_get(sch, cl); taprio_graft() local
H A Dsch_drr.c116 cl->qdisc = qdisc_create_dflt(sch->dev_queue, in drr_change_class()
217 new = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in drr_graft_class()
H A Dsch_fifo.c263 q = qdisc_create_dflt(sch->dev_queue, ops, TC_H_MAKE(sch->handle, 1), in fifo_create_dflt()
H A Dsch_ets.c261 new = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in ets_class_graft()
642 queues[i] = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in ets_qdisc_change()
H A Dsch_multiq.c214 child = qdisc_create_dflt(sch->dev_queue, in multiq_tune()
H A Dsch_hfsc.c1060 cl->qdisc = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in hfsc_change_class()
1193 new = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in hfsc_graft_class()
1420 q->root.qdisc = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in hfsc_init_qdisc()
H A Dsch_etf.c379 q->queue = sch->dev_queue - netdev_get_tx_queue(dev, 0); in etf_init()
H A Dsch_qfq.c488 cl->qdisc = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in qfq_change_class()
608 new = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in qfq_graft_class()
H A Dsch_dualpi2.c920 q->l_queue = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in dualpi2_init()
H A Dsch_fq.c901 netdev_queue_numa_node_read(sch->dev_queue)); in fq_resize()
/linux/include/net/
H A Dsch_generic.h77 * q->dev_queue : It can test
100 struct netdev_queue *dev_queue;
569 struct Qdisc *q = rcu_dereference_rtnl(qdisc->dev_queue->qdisc); in qdisc_root_sleeping_lock()
576 return rcu_dereference_bh(qdisc->dev_queue->qdisc);
581 return rcu_dereference_rtnl(qdisc->dev_queue->qdisc_sleeping); in sch_tree_lock()
594 return qdisc->dev_queue->dev;
712 struct Qdisc *dev_graft_qdisc(struct netdev_queue *dev_queue, in qdisc_offload_dump_helper()
746 struct Qdisc *qdisc_alloc(struct netdev_queue *dev_queue, in skb_skip_tc_classify()
750 struct Qdisc *qdisc_create_dflt(struct netdev_queue *dev_queue, in skb_skip_tc_classify()
105 struct netdev_queue *dev_queue; global() member
H A Dpkt_sched.h138 return dev_net(q->dev_queue->dev); in psched_mtu()
/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_enet.c333 struct netdev_queue *dev_queue; in hns_nic_net_xmit_hw() local
386 dev_queue = netdev_get_tx_queue(ndev, skb->queue_mapping); in hns_nic_net_xmit_hw()
387 netdev_tx_sent_queue(dev_queue, skb->len); in hns_nic_net_xmit_hw()
976 struct netdev_queue *dev_queue; in hns_nic_tx_poll_one() local
1005 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in hns_nic_tx_poll_one()
1006 netdev_tx_completed_queue(dev_queue, pkts, bytes); in hns_nic_tx_poll_one()
1017 if (netif_tx_queue_stopped(dev_queue) && in hns_nic_tx_poll_one()
1019 netif_tx_wake_queue(dev_queue); in hns_nic_tx_poll_one()
1060 struct netdev_queue *dev_queue; in hns_nic_tx_clr_all_bufs() local
1070 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in hns_nic_tx_clr_all_bufs()
[all …]
H A Dhns_ethtool.c376 struct netdev_queue *dev_queue; in __lb_other_process() local
407 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in __lb_other_process()
408 netdev_tx_reset_queue(dev_queue); in __lb_other_process()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dqos.c376 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, qid); in mlx5e_reset_qdisc() local
377 struct Qdisc *qdisc = rtnl_dereference(dev_queue->qdisc_sleeping); in mlx5e_reset_qdisc()
/linux/drivers/net/xen-netback/
H A Dxenbus.c31 struct netdev_queue *dev_queue; in xenvif_read_io_ring() local
92 dev_queue = netdev_get_tx_queue(queue->vif->dev, queue->id); in xenvif_read_io_ring()
97 netif_tx_queue_stopped(dev_queue) ? "stopped" : "running"); in xenvif_read_io_ring()
/linux/tools/perf/Documentation/
H A Dperf-trace.txt338 next block:*_unplug and the next three net:*dev_queue events, this last one
341 …# perf trace -e sched:*switch/nr=2/,block:*_plug/nr=4/,block:*_unplug/nr=1/,net:*dev_queue/nr=3,ma…
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dqos.c1509 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, qid); in otx2_reset_qdisc() local
1510 struct Qdisc *qdisc = rtnl_dereference(dev_queue->qdisc_sleeping); in otx2_reset_qdisc()

12