[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 23/24] vhost: vhost-kernel: enable vq reset feature
From: |
Kangjie Xu |
Subject: |
[PATCH v2 23/24] vhost: vhost-kernel: enable vq reset feature |
Date: |
Tue, 16 Aug 2022 09:06:35 +0800 |
Add virtqueue reset feature for vhost-kernel.
Signed-off-by: Kangjie Xu <kangjie.xu@linux.alibaba.com>
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
---
hw/net/vhost_net.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c
index 778081e54a..9ea160e4e9 100644
--- a/hw/net/vhost_net.c
+++ b/hw/net/vhost_net.c
@@ -46,6 +46,7 @@ static const int kernel_feature_bits[] = {
VIRTIO_NET_F_MTU,
VIRTIO_F_IOMMU_PLATFORM,
VIRTIO_F_RING_PACKED,
+ VIRTIO_F_RING_RESET,
VIRTIO_NET_F_HASH_REPORT,
VHOST_INVALID_FEATURE_BIT
};
--
2.32.0
- Re: [PATCH v2 12/24] vhost-net: vhost-kernel: introduce vhost_net_virtqueue_restart(), (continued)
[PATCH v2 13/24] docs: vhost-user: add VHOST_USER_RESET_VRING message, Kangjie Xu, 2022/08/15
[PATCH v2 15/24] vhost-user: add op to enable or disable a single vring, Kangjie Xu, 2022/08/15
[PATCH v2 23/24] vhost: vhost-kernel: enable vq reset feature,
Kangjie Xu <=
[PATCH v2 21/24] virtio-net: support queue reset, Kangjie Xu, 2022/08/15
[PATCH v2 16/24] vhost: vhost-user: update vhost_dev_virtqueue_stop(), Kangjie Xu, 2022/08/15
[PATCH v2 08/24] vhost: extract the logic of unmapping the vrings and desc, Kangjie Xu, 2022/08/15
[PATCH v2 17/24] vhost: vhost-user: update vhost_dev_virtqueue_restart(), Kangjie Xu, 2022/08/15
[PATCH v2 18/24] vhost-net: vhost-user: update vhost_net_virtqueue_stop(), Kangjie Xu, 2022/08/15