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.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -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 28 | 54 | #define VIRTIO_TRANSPORT_F_START 28 |
| 55 | #define VIRTIO_TRANSPORT_F_END 38 | 55 | #define VIRTIO_TRANSPORT_F_END 41 |
| 56 | 56 | ||
| 57 | #ifndef VIRTIO_CONFIG_NO_LEGACY | 57 | #ifndef VIRTIO_CONFIG_NO_LEGACY |
| 58 | /* Do we get callbacks when the ring is completely used, even if we've | 58 | /* 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 37 | 100 | #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 */ |