[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/16] virtio: add VIRTIO_F_RING_RESET
From: |
Kangjie Xu |
Subject: |
[PATCH 02/16] virtio: add VIRTIO_F_RING_RESET |
Date: |
Mon, 18 Jul 2022 19:16:59 +0800 |
From: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Added VIRTIO_F_RING_RESET, it came from here
https://github.com/oasis-tcs/virtio-spec/issues/124
This feature indicates that the driver can reset a queue individually.
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
---
include/standard-headers/linux/virtio_config.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/standard-headers/linux/virtio_config.h
b/include/standard-headers/linux/virtio_config.h
index 7acd8d4abc..47a7eef5e4 100644
--- a/include/standard-headers/linux/virtio_config.h
+++ b/include/standard-headers/linux/virtio_config.h
@@ -96,4 +96,9 @@
* Does the device support Single Root I/O Virtualization?
*/
#define VIRTIO_F_SR_IOV 37
+
+/*
+ * This feature indicates that the driver can reset a queue individually.
+ */
+#define VIRTIO_F_RING_RESET 40
#endif /* _LINUX_VIRTIO_CONFIG_H */
--
2.32.0
[PATCH 02/16] virtio: add VIRTIO_F_RING_RESET,
Kangjie Xu <=
Re: [PATCH 00/16] Support VIRTIO_F_RING_RESET for virtio-net and vhost-user in virtio pci, Kangjie Xu, 2022/07/24