[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 13/24] docs: vhost-user: add VHOST_USER_RESET_VRING message
From: |
Kangjie Xu |
Subject: |
[PATCH v2 13/24] docs: vhost-user: add VHOST_USER_RESET_VRING message |
Date: |
Tue, 16 Aug 2022 09:06:25 +0800 |
To support the reset operation for an individual virtqueue,
we introduce a new message VHOST_USER_RESET_VRING. This
message is submitted by the front-end to reset an individual
virtqueue to initial states in the back-end. The reply is
needed to ensure that the reset operation is complete.
Signed-off-by: Kangjie Xu <kangjie.xu@linux.alibaba.com>
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
---
docs/interop/vhost-user.rst | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/docs/interop/vhost-user.rst b/docs/interop/vhost-user.rst
index 3f18ab424e..ce7991b9d3 100644
--- a/docs/interop/vhost-user.rst
+++ b/docs/interop/vhost-user.rst
@@ -1422,6 +1422,16 @@ Front-end message types
query the back-end for its device status as defined in the Virtio
specification.
+``VHOST_USER_RESET_VRING``
+ :id: 41
+ :equivalent ioctl: N/A
+ :request payload: vring state description
+ :reply payload: ``u64``
+
+ When the feature ``VIRTIO_F_RING_RESET`` feature has been successfully
+ negotiated, this message is submitted by the front-end to reset an
+ individual virtqueue to initial states in the back-end. It will ask
+ for a reply to ensure the virtqueue is successfully reset in the back-end.
Back-end message types
----------------------
--
2.32.0
- [PATCH v2 05/24] virtio: core: vq reset feature negotation support, (continued)
[PATCH v2 13/24] docs: vhost-user: add VHOST_USER_RESET_VRING message,
Kangjie Xu <=
[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, 2022/08/15
[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