|
|
2c1bf6 |
From b6da125960fb1fb017427af5910b43ac81586850 Mon Sep 17 00:00:00 2001
|
|
|
2c1bf6 |
From: Tiwei Bie <tiwei.bie@intel.com>
|
|
|
2c1bf6 |
Date: Thu, 3 Jan 2019 10:40:07 +0800
|
|
|
2c1bf6 |
Subject: [PATCH 13/18] net/virtio-user: fix supported features list
|
|
|
2c1bf6 |
|
|
|
2c1bf6 |
[ upstream commit 8532a0fcd8f2cf3a5d3189b453bd90a69991b1b1 ]
|
|
|
2c1bf6 |
|
|
|
2c1bf6 |
Currently virtio-user doesn't support event idx.
|
|
|
2c1bf6 |
|
|
|
2c1bf6 |
Fixes: aea29aa5d37b ("net/virtio: enable packed virtqueues by default")
|
|
|
2c1bf6 |
|
|
|
2c1bf6 |
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
|
|
|
2c1bf6 |
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
|
|
|
2c1bf6 |
(cherry picked from commit 8532a0fcd8f2cf3a5d3189b453bd90a69991b1b1)
|
|
|
2c1bf6 |
Signed-off-by: Jens Freimann <jfreimann@redhat.com>
|
|
|
2c1bf6 |
---
|
|
|
2c1bf6 |
drivers/net/virtio/virtio_user/virtio_user_dev.c | 3 +--
|
|
|
2c1bf6 |
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
2c1bf6 |
|
|
|
2c1bf6 |
diff --git a/drivers/net/virtio/virtio_user/virtio_user_dev.c b/drivers/net/virtio/virtio_user/virtio_user_dev.c
|
|
|
2c1bf6 |
index c4e026096..77341f895 100644
|
|
|
2c1bf6 |
--- a/drivers/net/virtio/virtio_user/virtio_user_dev.c
|
|
|
2c1bf6 |
+++ b/drivers/net/virtio/virtio_user/virtio_user_dev.c
|
|
|
2c1bf6 |
@@ -410,8 +410,7 @@ virtio_user_dev_setup(struct virtio_user_dev *dev)
|
|
|
2c1bf6 |
1ULL << VIRTIO_NET_F_GUEST_TSO6 | \
|
|
|
2c1bf6 |
1ULL << VIRTIO_F_IN_ORDER | \
|
|
|
2c1bf6 |
1ULL << VIRTIO_F_VERSION_1 | \
|
|
|
2c1bf6 |
- 1ULL << VIRTIO_F_RING_PACKED | \
|
|
|
2c1bf6 |
- 1ULL << VIRTIO_RING_F_EVENT_IDX)
|
|
|
2c1bf6 |
+ 1ULL << VIRTIO_F_RING_PACKED)
|
|
|
2c1bf6 |
|
|
|
2c1bf6 |
int
|
|
|
2c1bf6 |
virtio_user_dev_init(struct virtio_user_dev *dev, char *path, int queues,
|
|
|
2c1bf6 |
--
|
|
|
2c1bf6 |
2.21.0
|
|
|
2c1bf6 |
|