Skip to content

Commit 838bebb

Browse files
Feng LiuAlex Williamson
authored andcommitted
virtio: Define feature bit for administration virtqueue
Introduce VIRTIO_F_ADMIN_VQ which is used for administration virtqueue support. Signed-off-by: Feng Liu <feliu@nvidia.com> Reviewed-by: Parav Pandit <parav@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Link: https://lore.kernel.org/r/20231219093247.170936-2-yishaih@nvidia.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
1 parent 33cc938 commit 838bebb

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

include/uapi/linux/virtio_config.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
* rest are per-device feature bits.
5353
*/
5454
#define VIRTIO_TRANSPORT_F_START 28
55-
#define VIRTIO_TRANSPORT_F_END 41
55+
#define VIRTIO_TRANSPORT_F_END 42
5656

5757
#ifndef VIRTIO_CONFIG_NO_LEGACY
5858
/* Do we get callbacks when the ring is completely used, even if we've
@@ -114,4 +114,10 @@
114114
* This feature indicates that the driver can reset a queue individually.
115115
*/
116116
#define VIRTIO_F_RING_RESET 40
117+
118+
/*
119+
* This feature indicates that the device support administration virtqueues.
120+
*/
121+
#define VIRTIO_F_ADMIN_VQ 41
122+
117123
#endif /* _UAPI_LINUX_VIRTIO_CONFIG_H */

0 commit comments

Comments
 (0)