Home
last modified time | relevance | path

Searched refs:netdev_get_tx_queue (Results 1 – 25 of 137) sorted by relevance

123456

/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dosdep_service_linux.h80 return (netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 0)) && in rtw_netif_queue_stopped()
81 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 1)) && in rtw_netif_queue_stopped()
82 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 2)) && in rtw_netif_queue_stopped()
83 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 3))); in rtw_netif_queue_stopped()
/openbmc/linux/include/net/
H A Dnetdev_queues.h151 txq = netdev_get_tx_queue(dev, idx); \
159 txq = netdev_get_tx_queue(dev, idx); \
168 txq = netdev_get_tx_queue(dev, idx); \
H A Dsch_generic.h761 qdisc = rtnl_dereference(netdev_get_tx_queue(dev, i)->qdisc); in qdisc_reset_all_tx_gt()
777 struct netdev_queue *txq = netdev_get_tx_queue(dev, i); in qdisc_all_tx_empty()
795 struct netdev_queue *txq = netdev_get_tx_queue(dev, i); in qdisc_tx_changing()
810 struct netdev_queue *txq = netdev_get_tx_queue(dev, i); in qdisc_tx_is_noop()
/openbmc/linux/net/sched/
H A Dsch_teql.c98 dat_queue = netdev_get_tx_queue(dat->m->dev, 0); in teql_dequeue()
151 txq = netdev_get_tx_queue(master->dev, 0); in teql_destroy()
298 struct netdev_queue *slave_txq = netdev_get_tx_queue(slave, 0); in teql_master_xmit()
302 if (netif_xmit_stopped(netdev_get_tx_queue(slave, subq)) || in teql_master_xmit()
325 if (netif_xmit_stopped(netdev_get_tx_queue(dev, 0))) in teql_master_xmit()
H A Dsch_mq.c89 dev_queue = netdev_get_tx_queue(dev, ntx); in mq_init()
144 qdisc = rtnl_dereference(netdev_get_tx_queue(dev, ntx)->qdisc_sleeping); in mq_dump()
166 return netdev_get_tx_queue(dev, ntx); in mq_queue_get()
H A Dsch_generic.c430 unsigned long res = READ_ONCE(netdev_get_tx_queue(dev, 0)->trans_start); in dev_trans_start()
435 val = READ_ONCE(netdev_get_tx_queue(dev, i)->trans_start); in dev_trans_start()
451 struct netdev_queue *txq = netdev_get_tx_queue(dev, i); in netif_freeze_queues()
477 struct netdev_queue *txq = netdev_get_tx_queue(dev, i); in netif_unfreeze_queues()
513 txq = netdev_get_tx_queue(dev, i); in dev_watchdog()
1187 txq = netdev_get_tx_queue(dev, 0); in attach_default_qdiscs()
1327 dev_queue = netdev_get_tx_queue(dev, i); in some_qdisc_is_busy()
1429 qdisc = rtnl_dereference(netdev_get_tx_queue(dev, i)->qdisc_sleeping); in mq_change_real_num_tx()
1437 qdisc = rtnl_dereference(netdev_get_tx_queue(dev, i)->qdisc_sleeping); in mq_change_real_num_tx()
H A Dsch_mqprio.c399 dev_queue = netdev_get_tx_queue(dev, i); in mqprio_init()
462 return netdev_get_tx_queue(dev, ntx); in mqprio_queue_get()
574 qdisc = rtnl_dereference(netdev_get_tx_queue(dev, ntx)->qdisc_sleeping); in mqprio_dump()
686 struct netdev_queue *q = netdev_get_tx_queue(dev, i); in mqprio_dump_class_stats()
H A Dsch_multiq.c104 netdev_get_tx_queue(qdisc_dev(sch), q->curband))) { in multiq_dequeue()
136 netdev_get_tx_queue(qdisc_dev(sch), curband))) { in multiq_peek()
/openbmc/linux/include/linux/
H A Dnetdevice.h2498 struct netdev_queue *netdev_get_tx_queue(const struct net_device *dev, in netdev_get_tx_queue() function
2508 return netdev_get_tx_queue(dev, skb_get_queue_mapping(skb)); in skb_get_tx_queue()
3311 netif_schedule_queue(netdev_get_tx_queue(dev, i)); in netif_tx_schedule_all()
3327 netif_tx_start_queue(netdev_get_tx_queue(dev, 0)); in netif_start_queue()
3335 struct netdev_queue *txq = netdev_get_tx_queue(dev, i); in netif_tx_start_all_queues()
3351 netif_tx_wake_queue(netdev_get_tx_queue(dev, 0)); in netif_wake_queue()
3359 struct netdev_queue *txq = netdev_get_tx_queue(dev, i); in netif_tx_wake_all_queues()
3385 netif_tx_stop_queue(netdev_get_tx_queue(dev, 0)); in netif_stop_queue()
3403 return netif_tx_queue_stopped(netdev_get_tx_queue(dev, 0)); in netif_queue_stopped()
3541 netdev_tx_sent_queue(netdev_get_tx_queue(dev, 0), bytes); in netdev_sent_queue()
[all …]
/openbmc/linux/drivers/net/
H A Difb.c95 txq = netdev_get_tx_queue(txp->dev, txp->txqnum); in ifb_ri_tasklet()
202 netif_tx_start_queue(netdev_get_tx_queue(dev, i)); in ifb_dev_init()
352 netif_tx_stop_queue(netdev_get_tx_queue(dev, txp->txqnum)); in ifb_xmit()
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_tx.c149 netdev_tx_reset_queue(netdev_get_tx_queue(iq->netdev, iq->q_no)); in octep_iq_free_pending()
196 iq->netdev_q = netdev_get_tx_queue(iq->netdev, q_no); in octep_setup_iq()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_dcbnl.c152 netif_tx_stop_queue(netdev_get_tx_queue(dev, prio)); in otx2_pfc_update_sq_smq_mapping()
193 netif_tx_start_queue(netdev_get_tx_queue(dev, prio)); in otx2_pfc_update_sq_smq_mapping()
H A Dotx2_txrx.c500 txq = netdev_get_tx_queue(pfvf->netdev, qidx); in otx2_tx_napi_handler()
883 struct netdev_queue *txq = netdev_get_tx_queue(pfvf->netdev, qidx); in otx2_sq_append_tso()
1144 struct netdev_queue *txq = netdev_get_tx_queue(netdev, qidx); in otx2_sq_append_skb()
1289 txq = netdev_get_tx_queue(pfvf->netdev, qidx); in otx2_cleanup_tx_cqes()
1343 txq = netdev_get_tx_queue(pfvf->netdev, sq_idx); in otx2_free_pending_sqe()
/openbmc/linux/drivers/net/wwan/t7xx/
H A Dt7xx_netdev.c442 net_queue = netdev_get_tx_queue(ccmni->dev, qno); in t7xx_ccmni_queue_tx_irq_notify()
455 net_queue = netdev_get_tx_queue(ccmni->dev, qno); in t7xx_ccmni_queue_tx_full_notify()
/openbmc/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_bpf.c21 ndevtxq = netdev_get_tx_queue(ndev, txq_idx); in mana_xdp_tx()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dqos.c167 mlx5e_tx_disable_queue(netdev_get_tx_queue(priv->netdev, qid)); in mlx5e_activate_qos_sq()
364 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, qid); in mlx5e_reset_qdisc()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfdk/
H A Drings.c70 nd_q = netdev_get_tx_queue(dp->netdev, tx_ring->idx); in nfp_nfdk_tx_ring_reset()
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_tx.c537 netdev_txq = netdev_get_tx_queue(netdev, q_id); in hinic_lb_xmit_frame()
626 netdev_txq = netdev_get_tx_queue(netdev, q_id); in hinic_xmit_frame()
746 netdev_txq = netdev_get_tx_queue(txq->netdev, qp->q_id); in free_tx_poll()
/openbmc/linux/drivers/net/xen-netback/
H A Drx.c95 netif_tx_stop_queue(netdev_get_tx_queue(dev, queue->id)); in xenvif_rx_queue_tail()
125 txq = netdev_get_tx_queue(queue->vif->dev, queue->id); in xenvif_rx_dequeue()
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dxmit_linux.c117 if (!netif_tx_queue_stopped(netdev_get_tx_queue(padapter->pnetdev, queue))) in rtw_check_xmit_resource()
/openbmc/linux/Documentation/networking/
H A Ddriver.rst67 txq = netdev_get_tx_queue(dev, idx);
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfd3/
H A Drings.c93 nd_q = netdev_get_tx_queue(dp->netdev, tx_ring->idx); in nfp_nfd3_tx_ring_reset()
/openbmc/linux/drivers/net/ethernet/engleder/
H A Dtsnep_main.c338 nq = netdev_get_tx_queue(tx->adapter->netdev, tx->queue_index); in tsnep_tx_enable()
350 nq = netdev_get_tx_queue(tx->adapter->netdev, tx->queue_index); in tsnep_tx_disable()
767 nq = netdev_get_tx_queue(tx->adapter->netdev, tx->queue_index); in tsnep_tx_poll()
857 nq = netdev_get_tx_queue(tx->adapter->netdev, tx->queue_index); in tsnep_tx_pending()
1385 tx_nq = netdev_get_tx_queue(rx->adapter->netdev, in tsnep_rx_poll()
1488 tx_nq = netdev_get_tx_queue(rx->adapter->netdev, in tsnep_rx_poll_zc()
2264 nq = netdev_get_tx_queue(adapter->netdev, tx->queue_index); in tsnep_netdev_xdp_xmit()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c2421 struct netdev_queue *nq = netdev_get_tx_queue(priv->dev, queue); in stmmac_xdp_xmit_zc()
2549 __netif_tx_lock_bh(netdev_get_tx_queue(priv->dev, queue)); in stmmac_tx_clean()
2659 netdev_tx_completed_queue(netdev_get_tx_queue(priv->dev, queue), in stmmac_tx_clean()
2662 if (unlikely(netif_tx_queue_stopped(netdev_get_tx_queue(priv->dev, in stmmac_tx_clean()
2668 netif_tx_wake_queue(netdev_get_tx_queue(priv->dev, queue)); in stmmac_tx_clean()
2711 __netif_tx_unlock_bh(netdev_get_tx_queue(priv->dev, queue)); in stmmac_tx_clean()
2728 netif_tx_stop_queue(netdev_get_tx_queue(priv->dev, chan)); in stmmac_tx_err()
2739 netif_tx_wake_queue(netdev_get_tx_queue(priv->dev, chan)); in stmmac_tx_err()
4143 if (!netif_tx_queue_stopped(netdev_get_tx_queue(dev, queue))) { in stmmac_tso_xmit()
4144 netif_tx_stop_queue(netdev_get_tx_queue(pri in stmmac_tso_xmit()
[all...]
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.h520 return netdev_get_tx_queue(ring->netdev, ring->queue_index); in txring_txq()

123456