On Mon, Feb 21, 2022 at 8:08 PM Eli Cohen <[email protected]> wrote:
>
> This is required by iproute2 to display the capabilities of a vdpa based
> virtio device.
>
> Signed-off-by: Eli Cohen <[email protected]>
> v0 -> v1:
> Avoid modifying mcdi_pcol.h

Acked-by: Jason Wang <[email protected]>

> ---
>  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
>

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to