Skip to content

Commit

Permalink
virtio: queue_reset: add VIRTIO_F_RING_RESET
Browse files Browse the repository at this point in the history
Added VIRTIO_F_RING_RESET, it came from here

oasis-tcs/virtio-spec#124
oasis-tcs/virtio-spec#139

This feature indicates that the driver can reset a queue individually.

Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
  • Loading branch information
fengidri authored and intel-lab-lkp committed Jul 20, 2022
1 parent f3706d1 commit 74bab9b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/uapi/linux/virtio_config.h
Expand Up @@ -52,7 +52,7 @@
* rest are per-device feature bits.
*/
#define VIRTIO_TRANSPORT_F_START 28
#define VIRTIO_TRANSPORT_F_END 38
#define VIRTIO_TRANSPORT_F_END 41

#ifndef VIRTIO_CONFIG_NO_LEGACY
/* Do we get callbacks when the ring is completely used, even if we've
Expand Down Expand Up @@ -98,4 +98,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 /* _UAPI_LINUX_VIRTIO_CONFIG_H */

0 comments on commit 74bab9b

Please sign in to comment.