[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/8] docs: vhost-user: add VHOST_USER_RESET_VRING message
From: |
Kangjie Xu |
Subject: |
[PATCH 1/8] docs: vhost-user: add VHOST_USER_RESET_VRING message |
Date: |
Fri, 26 Aug 2022 18:56:13 +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 0/8] Support VIRTIO_F_RING_RESET for vhost-user in virtio pci-modern, Kangjie Xu, 2022/08/26
- [PATCH 2/8] net: virtio: rename vhost_set_vring_enable to vhost_set_dev_enable, Kangjie Xu, 2022/08/26
- [PATCH 7/8] virtio-net: vhost-user: update queue_reset and queue_enable, Kangjie Xu, 2022/08/26
- [PATCH 4/8] vhost-user: introduce vhost_reset_vring() interface, Kangjie Xu, 2022/08/26
- [PATCH 3/8] vhost-user: add op to enable or disable a single vring, Kangjie Xu, 2022/08/26
- [PATCH 1/8] docs: vhost-user: add VHOST_USER_RESET_VRING message,
Kangjie Xu <=
- [PATCH 8/8] vhost: vhost-user: enable vq reset feature, Kangjie Xu, 2022/08/26
- [PATCH 5/8] vhost-net: vhost-user: update vhost_net_virtqueue_reset(), Kangjie Xu, 2022/08/26
- [PATCH 6/8] vhost-net: vhost-user: update vhost_net_virtqueue_restart(), Kangjie Xu, 2022/08/26