Home
last modified time | relevance | path

Searched refs:queue_pairs (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/net/
Dvirtio_net.c2108 static int _virtnet_set_queues(struct virtnet_info *vi, u16 queue_pairs) in _virtnet_set_queues() argument
2116 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() argument
2139 err = _virtnet_set_queues(vi, queue_pairs); in virtnet_set_queues()
2611 u16 queue_pairs = channels->combined_count; in virtnet_set_channels() local
2620 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 …]