From: Xuan Zhuo Date: Tue, 10 Oct 2023 03:11:17 +0000 (+0800) Subject: virtio: add definition of VIRTIO_F_NOTIF_CONFIG_DATA feature bit X-Git-Tag: v6.7-rc1~54^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=70e16c90ee23233bdd45462e1ebba72ff0c25c3a;p=thirdparty%2Fkernel%2Flinux.git 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: https://github.com/oasis-tcs/virtio-spec/issues/89 Signed-off-by: Xuan Zhuo Message-Id: <20231010031120.81272-2-xuanzhuo@linux.alibaba.com> Signed-off-by: Michael S. Tsirkin Acked-by: Jason Wang --- diff --git a/include/uapi/linux/virtio_config.h b/include/uapi/linux/virtio_config.h index 2c712c6541653..8881aea60f6f1 100644 --- a/include/uapi/linux/virtio_config.h +++ b/include/uapi/linux/virtio_config.h @@ -105,6 +105,11 @@ */ #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. */