Skip to content

Commit 70e16c9

Browse files
fengidrimstsirkin
authored andcommitted
virtio: add definition of VIRTIO_F_NOTIF_CONFIG_DATA feature bit
This patch adds the definition of VIRTIO_F_NOTIF_CONFIG_DATA feature bit in the relevant header file. This feature indicates that the driver uses the data provided by the device as a virtqueue identifier in available buffer notifications. It comes from here: oasis-tcs/virtio-spec#89 Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Message-Id: <20231010031120.81272-2-xuanzhuo@linux.alibaba.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
1 parent 484f0a0 commit 70e16c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/uapi/linux/virtio_config.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@
105105
*/
106106
#define VIRTIO_F_NOTIFICATION_DATA 38
107107

108+
/* This feature indicates that the driver uses the data provided by the device
109+
* as a virtqueue identifier in available buffer notifications.
110+
*/
111+
#define VIRTIO_F_NOTIF_CONFIG_DATA 39
112+
108113
/*
109114
* This feature indicates that the driver can reset a queue individually.
110115
*/

0 commit comments

Comments
 (0)