Jason Wang
2022-Feb-22 03:31 UTC
[PATCH v1] virtio: Add definition for VIRTIO_F_NOTIFICATION_DATA feature flag
On Mon, Feb 21, 2022 at 8:08 PM Eli Cohen <elic at nvidia.com> wrote:> > This is required by iproute2 to display the capabilities of a vdpa based > virtio device. > > Signed-off-by: Eli Cohen <elic at nvidia.com> > v0 -> v1: > Avoid modifying mcdi_pcol.hAcked-by: Jason Wang <jasowang at redhat.com>> --- > include/uapi/linux/virtio_config.h | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/include/uapi/linux/virtio_config.h b/include/uapi/linux/virtio_config.h > index b5eda06f0d57..30eb76dcdcad 100644 > --- a/include/uapi/linux/virtio_config.h > +++ b/include/uapi/linux/virtio_config.h > @@ -92,4 +92,10 @@ > * Does the device support Single Root I/O Virtualization? > */ > #define VIRTIO_F_SR_IOV 37 > + > +/* When negotiated, indicates that the driver can pass extra data beyond > + * virtqueue identification when sending notifications > + */ > +#define VIRTIO_F_NOTIFICATION_DATA 38 > + > #endif /* _UAPI_LINUX_VIRTIO_CONFIG_H */ > -- > 2.35.1 >