]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
virtio: add definition of VIRTIO_F_NOTIF_CONFIG_DATA feature bit
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>
Tue, 10 Oct 2023 03:11:17 +0000 (11:11 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 1 Nov 2023 13:19:59 +0000 (09:19 -0400)
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:
    https://github.com/oasis-tcs/virtio-spec/issues/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>
include/uapi/linux/virtio_config.h

index 2c712c654165353c2312fe908e93d1efff2c8632..8881aea60f6f11be1aa2fd20f813883546c8e74a 100644 (file)
  */
 #define VIRTIO_F_NOTIFICATION_DATA     38
 
+/* This feature indicates that the driver uses the data provided by the device
+ * as a virtqueue identifier in available buffer notifications.
+ */
+#define VIRTIO_F_NOTIF_CONFIG_DATA     39
+
 /*
  * This feature indicates that the driver can reset a queue individually.
  */