Searched refs:queue_pairs (Results 1 – 1 of 1) sorted by relevance
2108 static int _virtnet_set_queues(struct virtnet_info *vi, u16 queue_pairs) in _virtnet_set_queues() argument2116 vi->ctrl->mq.virtqueue_pairs = cpu_to_virtio16(vi->vdev, queue_pairs); in _virtnet_set_queues()2122 queue_pairs); in _virtnet_set_queues()2125 vi->curr_queue_pairs = queue_pairs; in _virtnet_set_queues()2134 static int virtnet_set_queues(struct virtnet_info *vi, u16 queue_pairs) in virtnet_set_queues() argument2139 err = _virtnet_set_queues(vi, queue_pairs); in virtnet_set_queues()2611 u16 queue_pairs = channels->combined_count; in virtnet_set_channels() local2620 if (queue_pairs > vi->max_queue_pairs || queue_pairs == 0) in virtnet_set_channels()2631 err = _virtnet_set_queues(vi, queue_pairs); in virtnet_set_channels()2639 netif_set_real_num_tx_queues(dev, queue_pairs); in virtnet_set_channels()[all …]