33 lines
1022 B
Diff
33 lines
1022 B
Diff
|
|
From 275135fcfb7e7c22ec84a79297ffc9c96fb82639 Mon Sep 17 00:00:00 2001
|
||
|
|
From: =?UTF-8?q?Eugenio=20P=C3=A9rez?= <eperezma@redhat.com>
|
||
|
|
Date: Tue, 6 Sep 2022 17:07:19 +0200
|
||
|
|
Subject: [PATCH] vdpa: Allow MQ feature in SVQ
|
||
|
|
MIME-Version: 1.0
|
||
|
|
Content-Type: text/plain; charset=UTF-8
|
||
|
|
Content-Transfer-Encoding: 8bit
|
||
|
|
|
||
|
|
Finally enable SVQ with MQ feature.
|
||
|
|
|
||
|
|
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
|
||
|
|
Signed-off-by: Jason Wang <jasowang@redhat.com>
|
||
|
|
Signed-off-by: fangyi <eric.fangyi@huawei.com>
|
||
|
|
---
|
||
|
|
net/vhost-vdpa.c | 1 +
|
||
|
|
1 file changed, 1 insertion(+)
|
||
|
|
|
||
|
|
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c
|
||
|
|
index 831709a270..479abf97a7 100644
|
||
|
|
--- a/net/vhost-vdpa.c
|
||
|
|
+++ b/net/vhost-vdpa.c
|
||
|
|
@@ -93,6 +93,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) |
|
||
|
|
--
|
||
|
|
2.27.0
|
||
|
|
|