Lines Matching refs:dev_queue
310 struct netdev_queue *dev_queue; in hns_nic_net_xmit_hw() local
361 dev_queue = netdev_get_tx_queue(ndev, skb->queue_mapping); in hns_nic_net_xmit_hw()
362 netdev_tx_sent_queue(dev_queue, skb->len); in hns_nic_net_xmit_hw()
951 struct netdev_queue *dev_queue; in hns_nic_tx_poll_one() local
980 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in hns_nic_tx_poll_one()
981 netdev_tx_completed_queue(dev_queue, pkts, bytes); in hns_nic_tx_poll_one()
992 if (netif_tx_queue_stopped(dev_queue) && in hns_nic_tx_poll_one()
994 netif_tx_wake_queue(dev_queue); in hns_nic_tx_poll_one()
1035 struct netdev_queue *dev_queue; in hns_nic_tx_clr_all_bufs() local
1045 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in hns_nic_tx_clr_all_bufs()
1046 netdev_tx_reset_queue(dev_queue); in hns_nic_tx_clr_all_bufs()