History

virtio: queue_reset: add VIRTIO_F_RING_RESET

Added VIRTIO_F_RING_RESET, it came from here https://github.com/oasis-tcs/virtio-spec/issues/124 https://github.com/oasis-tcs/virtio-spec/issues/139 This feature indicates that the driver can reset a queue individually.

Xuan Zhuo committed 4 years ago

Commit d94587b1 parent 32510631 file · +6 −1Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/virtio_config.h+6−1
@@ -52,7 +52,7 @@ · 51 unmodified lines
5252 * rest are per-device feature bits.
5353 */
5454 #define VIRTIO_TRANSPORT_F_START 28
55−#define VIRTIO_TRANSPORT_F_END 38
55+#define VIRTIO_TRANSPORT_F_END 41
5656
5757 #ifndef VIRTIO_CONFIG_NO_LEGACY
5858 /* Do we get callbacks when the ring is completely used, even if we've
@@ -98,4 +98,9 @@ · 39 unmodified lines
9898 * Does the device support Single Root I/O Virtualization?
9999 */
100100 #define VIRTIO_F_SR_IOV 37
101+
102+/*
103+ * This feature indicates that the driver can reset a queue individually.
104+ */
105+#define VIRTIO_F_RING_RESET 40
101106 #endif /* _UAPI_LINUX_VIRTIO_CONFIG_H */