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
52 * rest are per-device feature bits.52 * rest are per-device feature bits.
53 */53 */
54#define VIRTIO_TRANSPORT_F_START 2854#define VIRTIO_TRANSPORT_F_START 28
55#define VIRTIO_TRANSPORT_F_END 3855#define VIRTIO_TRANSPORT_F_END 41
56 56
57#ifndef VIRTIO_CONFIG_NO_LEGACY57#ifndef VIRTIO_CONFIG_NO_LEGACY
58/* Do we get callbacks when the ring is completely used, even if we've58/* Do we get callbacks when the ring is completely used, even if we've
@@ -98,4 +98,9 @@ · 39 unmodified lines
98 * Does the device support Single Root I/O Virtualization?98 * Does the device support Single Root I/O Virtualization?
99 */99 */
100#define VIRTIO_F_SR_IOV 37100#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
101#endif /* _UAPI_LINUX_VIRTIO_CONFIG_H */106#endif /* _UAPI_LINUX_VIRTIO_CONFIG_H */