diff options
author | Jason Wang | 2021-10-20 06:55:57 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2021-10-20 10:44:05 +0200 |
commit | 441537f1ce0153978b4c9ee1cc4d4152147aa16f (patch) | |
tree | 185f39a17916fa6c174c81be024036a1a0153c70 /include/hw | |
parent | vhost-net: control virtqueue support (diff) | |
download | qemu-441537f1ce0153978b4c9ee1cc4d4152147aa16f.tar.gz qemu-441537f1ce0153978b4c9ee1cc4d4152147aa16f.tar.xz qemu-441537f1ce0153978b4c9ee1cc4d4152147aa16f.zip |
virtio-net: use "queue_pairs" instead of "queues" when possible
Most of the time, "queues" really means queue pairs. So this patch
switch to use "queue_pairs" to avoid confusion.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20211020045600.16082-8-jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/virtio/virtio-net.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h index 74a10ebe85..2903b79a92 100644 --- a/include/hw/virtio/virtio-net.h +++ b/include/hw/virtio/virtio-net.h @@ -194,8 +194,8 @@ struct VirtIONet { NICConf nic_conf; DeviceState *qdev; int multiqueue; - uint16_t max_queues; - uint16_t curr_queues; + uint16_t max_queue_pairs; + uint16_t curr_queue_pairs; size_t config_size; char *netclient_name; char *netclient_type; |