summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEugenio Pérez2022-09-06 17:07:19 +0200
committerJason Wang2022-09-27 09:14:37 +0200
commit72b99a87cebf803b4427297a59b44d090c065eba (patch)
treec483a4302c28a2246cafe46d8ea3a442402e8fc6 /net
parentvirtio-net: Update virtio-net curr_queue_pairs in vdpa backends (diff)
downloadqemu-72b99a87cebf803b4427297a59b44d090c065eba.tar.gz
qemu-72b99a87cebf803b4427297a59b44d090c065eba.tar.xz
qemu-72b99a87cebf803b4427297a59b44d090c065eba.zip
vdpa: Allow MQ feature in SVQ
Finally enable SVQ with MQ feature. Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net')
-rw-r--r--net/vhost-vdpa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c
index c6cbe2fb5c..4bc3fd01a8 100644
--- a/net/vhost-vdpa.c
+++ b/net/vhost-vdpa.c
@@ -94,6 +94,7 @@ static const uint64_t vdpa_svq_device_features =
BIT_ULL(VIRTIO_NET_F_MRG_RXBUF) |
BIT_ULL(VIRTIO_NET_F_STATUS) |
BIT_ULL(VIRTIO_NET_F_CTRL_VQ) |
+ BIT_ULL(VIRTIO_NET_F_MQ) |
BIT_ULL(VIRTIO_F_ANY_LAYOUT) |
BIT_ULL(VIRTIO_NET_F_CTRL_MAC_ADDR) |
BIT_ULL(VIRTIO_NET_F_RSC_EXT) |