Lines Matching refs:dev_queue
110 struct netdev_queue *dev_queue; in hns_nic_net_xmit_hw() local
172 dev_queue = netdev_get_tx_queue(ndev, skb->queue_mapping); in hns_nic_net_xmit_hw()
173 netdev_tx_sent_queue(dev_queue, skb->len); in hns_nic_net_xmit_hw()
620 struct netdev_queue *dev_queue; in hns_nic_tx_poll_one() local
650 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in hns_nic_tx_poll_one()
651 netdev_tx_completed_queue(dev_queue, pkts, bytes); in hns_nic_tx_poll_one()
659 if (netif_tx_queue_stopped(dev_queue) && in hns_nic_tx_poll_one()
661 netif_tx_wake_queue(dev_queue); in hns_nic_tx_poll_one()
688 struct netdev_queue *dev_queue; in hns_nic_tx_clr_all_bufs() local
702 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in hns_nic_tx_clr_all_bufs()
703 netdev_tx_reset_queue(dev_queue); in hns_nic_tx_clr_all_bufs()