Lines Matching refs:dev_queue
107 struct netdev_queue *dev_queue; in hns_nic_net_xmit_hw() local
169 dev_queue = netdev_get_tx_queue(ndev, skb->queue_mapping); in hns_nic_net_xmit_hw()
170 netdev_tx_sent_queue(dev_queue, skb->len); in hns_nic_net_xmit_hw()
617 struct netdev_queue *dev_queue; in hns_nic_tx_poll_one() local
647 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in hns_nic_tx_poll_one()
648 netdev_tx_completed_queue(dev_queue, pkts, bytes); in hns_nic_tx_poll_one()
656 if (netif_tx_queue_stopped(dev_queue) && in hns_nic_tx_poll_one()
658 netif_tx_wake_queue(dev_queue); in hns_nic_tx_poll_one()
685 struct netdev_queue *dev_queue; in hns_nic_tx_clr_all_bufs() local
699 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in hns_nic_tx_clr_all_bufs()
700 netdev_tx_reset_queue(dev_queue); in hns_nic_tx_clr_all_bufs()