Lines Matching refs:dev_queue
312 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()
1048 netdev_tx_reset_queue(dev_queue); in hns_nic_tx_clr_all_bufs()