Home
last modified time | relevance | path

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

12

/linux/net/sched/
A Dsch_generic.c608 .dev_queue = &noop_netdev_queue,
879 if (!dev_queue) { in qdisc_alloc()
885 dev = dev_queue->dev; in qdisc_alloc()
922 sch->dev_queue = dev_queue; in qdisc_alloc()
1072 dev_queue->qdisc_sleeping = qdisc; in dev_graft_qdisc()
1099 dev_queue->qdisc_sleeping = qdisc; in attach_one_default_qdisc()
1151 dev_queue->trans_start = 0; in transition_one_qdisc()
1213 qdisc = dev_queue->qdisc_sleeping; in dev_reset_queue()
1238 struct netdev_queue *dev_queue; in some_qdisc_is_busy() local
1244 q = dev_queue->qdisc_sleeping; in some_qdisc_is_busy()
[all …]
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()
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 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 = dev_queue->qdisc_sleeping->handle; in mq_dump_class()
231 struct netdev_queue *dev_queue = mq_queue_get(sch, cl); in mq_dump_class_stats() local
[all …]
A Dsch_mqprio.c138 struct netdev_queue *dev_queue; in mqprio_init() local
227 dev_queue = netdev_get_tx_queue(dev, i); in mqprio_init()
228 qdisc = qdisc_create_dflt(dev_queue, in mqprio_init()
299 old = dev_graft_qdisc(qdisc->dev_queue, qdisc); in mqprio_attach()
324 struct netdev_queue *dev_queue = mqprio_queue_get(sch, cl); in mqprio_graft() local
326 if (!dev_queue) in mqprio_graft()
332 *old = dev_graft_qdisc(dev_queue, new); in mqprio_graft()
449 if (!dev_queue) in mqprio_leaf()
452 return dev_queue->qdisc_sleeping; in mqprio_leaf()
485 tcm->tcm_info = dev_queue->qdisc_sleeping->handle; in mqprio_dump_class()
[all …]
A Dsch_htb.c1392 return sch->dev_queue; in htb_select_queue()
1451 cl_old->leaf.q->dev_queue = queue_new; in htb_offload_move_qdisc()
1467 struct netdev_queue *dev_queue = sch->dev_queue; in htb_graft() local
1567 struct netdev_queue *dev_queue; in htb_destroy_class_offload() local
1576 dev_queue = htb_offload_get_queue(cl); in htb_destroy_class_offload()
1604 htb_graft_helper(dev_queue, old); in htb_destroy_class_offload()
1737 struct netdev_queue *dev_queue = sch->dev_queue; in htb_delete() local
1789 struct netdev_queue *dev_queue; in htb_change_class() local
1895 dev_queue = sch->dev_queue; in htb_change_class()
1932 htb_graft_helper(dev_queue, old_q); in htb_change_class()
[all …]
A Dsch_api.c1074 old = dev_graft_qdisc(dev_queue, new); in qdisc_graft()
1165 struct netdev_queue *dev_queue, in qdisc_create() argument
1651 struct netdev_queue *dev_queue; in tc_modify_qdisc() local
1656 dev_queue = p->dev_queue; in tc_modify_qdisc()
1660 q = qdisc_create(dev, dev_queue, p, in tc_modify_qdisc()
1757 struct netdev_queue *dev_queue; in tc_dump_qdisc() local
1769 dev_queue = dev_ingress_queue(dev); in tc_dump_qdisc()
1770 if (dev_queue && in tc_dump_qdisc()
2195 struct netdev_queue *dev_queue; in tc_dump_tclass() local
2211 dev_queue = dev_ingress_queue(dev); in tc_dump_tclass()
[all …]
A Dsch_taprio.c1720 struct netdev_queue *dev_queue; in taprio_init() local
1723 dev_queue = netdev_get_tx_queue(dev, i); in taprio_init()
1724 qdisc = qdisc_create_dflt(dev_queue, in taprio_init()
1754 old = dev_graft_qdisc(qdisc->dev_queue, qdisc); in taprio_attach()
1756 old = dev_graft_qdisc(qdisc->dev_queue, sch); in taprio_attach()
1790 if (!dev_queue) in taprio_graft()
1797 *old = dev_graft_qdisc(dev_queue, new); in taprio_graft()
1952 if (!dev_queue) in taprio_leaf()
1955 return dev_queue->qdisc_sleeping; in taprio_leaf()
1974 tcm->tcm_info = dev_queue->qdisc_sleeping->handle; in taprio_dump_class()
[all …]
A Dsch_plug.c187 netif_schedule_queue(sch->dev_queue); in plug_change()
195 netif_schedule_queue(sch->dev_queue); in plug_change()
A Dsch_cbs.c412 q->qdisc = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in cbs_init()
423 q->queue = sch->dev_queue - netdev_get_tx_queue(dev, 0); in cbs_init()
498 new = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in cbs_graft()
A Dsch_prio.c200 queues[i] = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in prio_tune()
296 new = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in prio_graft()
A Dsch_drr.c111 cl->qdisc = qdisc_create_dflt(sch->dev_queue, in drr_change_class()
210 new = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in drr_graft_class()
A Dsch_dsmark.c74 new = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in dsmark_graft()
391 p->q = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, sch->handle, in dsmark_init()
A Dsch_fifo.c259 q = qdisc_create_dflt(sch->dev_queue, ops, TC_H_MAKE(sch->handle, 1), in fifo_create_dflt()
A Dsch_atm.c295 flow->q = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, classid, in atm_tc_change()
553 p->link.q = qdisc_create_dflt(sch->dev_queue, in atm_tc_init()
A Dsch_ets.c254 new = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in ets_class_graft()
649 queues[i] = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in ets_qdisc_change()
A Dsch_multiq.c215 child = qdisc_create_dflt(sch->dev_queue, in multiq_tune()
A Dsch_hfsc.c1054 cl->qdisc = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in hfsc_change_class()
1177 new = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in hfsc_graft_class()
1410 q->root.qdisc = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in hfsc_init_qdisc()
A Dsch_cbq.c1194 q->link.q = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in cbq_init()
1400 new = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in cbq_graft()
1632 cl->q = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, classid, in cbq_change_class()
/linux/include/linux/
A Dnetdevice.h3537 dev_queue->dql.min_limit = min_limit; in netdev_queue_set_dql_min_limit()
3551 prefetchw(&dev_queue->dql.num_queued); in netdev_txq_bql_enqueue_prefetchw()
3565 prefetchw(&dev_queue->dql.limit); in netdev_txq_bql_complete_prefetchw()
3573 dql_queued(&dev_queue->dql, bytes); in netdev_tx_sent_queue()
3575 if (likely(dql_avail(&dev_queue->dql) >= 0)) in netdev_tx_sent_queue()
3605 dql_queued(&dev_queue->dql, bytes); in __netdev_tx_sent_queue()
3607 return netif_tx_queue_stopped(dev_queue); in __netdev_tx_sent_queue()
3609 netdev_tx_sent_queue(dev_queue, bytes); in __netdev_tx_sent_queue()
3642 dql_completed(&dev_queue->dql, bytes); in netdev_tx_completed_queue()
3651 if (unlikely(dql_avail(&dev_queue->dql) < 0)) in netdev_tx_completed_queue()
[all …]
/linux/include/net/
A Dsch_generic.h104 struct netdev_queue *dev_queue; member
558 struct Qdisc *q = rcu_dereference_rtnl(qdisc->dev_queue->qdisc); in qdisc_root()
565 return rcu_dereference_bh(qdisc->dev_queue->qdisc); in qdisc_root_bh()
570 return qdisc->dev_queue->qdisc_sleeping; in qdisc_root_sleeping()
602 return qdisc->dev_queue->dev; in qdisc_dev()
693 struct Qdisc *dev_graft_qdisc(struct netdev_queue *dev_queue,
723 struct Qdisc *qdisc_alloc(struct netdev_queue *dev_queue,
727 struct Qdisc *qdisc_create_dflt(struct netdev_queue *dev_queue,
A Dpkt_sched.h147 return dev_net(q->dev_queue->dev); in qdisc_net()
/linux/drivers/net/ethernet/hisilicon/hns/
A Dhns_enet.c312 struct netdev_queue *dev_queue; in hns_nic_net_xmit_hw() local
363 dev_queue = netdev_get_tx_queue(ndev, skb->queue_mapping); in hns_nic_net_xmit_hw()
364 netdev_tx_sent_queue(dev_queue, skb->len); in hns_nic_net_xmit_hw()
953 struct netdev_queue *dev_queue; in hns_nic_tx_poll_one() local
982 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in hns_nic_tx_poll_one()
983 netdev_tx_completed_queue(dev_queue, pkts, bytes); in hns_nic_tx_poll_one()
994 if (netif_tx_queue_stopped(dev_queue) && in hns_nic_tx_poll_one()
996 netif_tx_wake_queue(dev_queue); in hns_nic_tx_poll_one()
1037 struct netdev_queue *dev_queue; in hns_nic_tx_clr_all_bufs() local
1047 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in hns_nic_tx_clr_all_bufs()
[all …]
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/xen-netback/
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/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_enet.c813 struct netdev_queue *dev_queue; in hns3_reset_tx_queue() local
817 dev_queue = netdev_get_tx_queue(ndev, in hns3_reset_tx_queue()
819 netdev_tx_reset_queue(dev_queue); in hns3_reset_tx_queue()
2182 struct netdev_queue *dev_queue; in hns3_nic_net_xmit() local
2240 dev_queue = netdev_get_tx_queue(netdev, ring->queue_index); in hns3_nic_net_xmit()
2241 doorbell = __netdev_tx_sent_queue(dev_queue, desc_cb->send_bytes, in hns3_nic_net_xmit()
3444 struct netdev_queue *dev_queue; in hns3_clean_tx_ring() local
3461 dev_queue = netdev_get_tx_queue(netdev, ring->tqp->tqp_index); in hns3_clean_tx_ring()
3462 netdev_tx_completed_queue(dev_queue, pkts, bytes); in hns3_clean_tx_ring()
3470 if (netif_tx_queue_stopped(dev_queue) && in hns3_clean_tx_ring()
[all …]
/linux/tools/perf/Documentation/
A Dperf-trace.txt326 next block:*_unplug and the next three net:*dev_queue events, this last one
329 …# perf trace -e sched:*switch/nr=2/,block:*_plug/nr=4/,block:*_unplug/nr=1/,net:*dev_queue/nr=3,ma…

Completed in 134 milliseconds

12