Lines Matching refs:dev_queue
311 struct netdev_queue *dev_queue; in hns_nic_net_xmit_hw() local
362 dev_queue = netdev_get_tx_queue(ndev, skb->queue_mapping); in hns_nic_net_xmit_hw()
363 netdev_tx_sent_queue(dev_queue, skb->len); in hns_nic_net_xmit_hw()
954 struct netdev_queue *dev_queue; in hns_nic_tx_poll_one() local
983 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in hns_nic_tx_poll_one()
984 netdev_tx_completed_queue(dev_queue, pkts, bytes); in hns_nic_tx_poll_one()
995 if (netif_tx_queue_stopped(dev_queue) && in hns_nic_tx_poll_one()
997 netif_tx_wake_queue(dev_queue); in hns_nic_tx_poll_one()
1038 struct netdev_queue *dev_queue; in hns_nic_tx_clr_all_bufs() local
1048 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in hns_nic_tx_clr_all_bufs()
1049 netdev_tx_reset_queue(dev_queue); in hns_nic_tx_clr_all_bufs()