diff options
author | Eugenio Pérez <eperezma@redhat.com> | 2021-11-04 22:52:48 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-01-15 02:50:52 +0300 |
commit | 28cc408be72cebb0f3fcc37bc74ab3196d4de726 (patch) | |
tree | ffa5faa4f7b31586f3372963e6c5128bbda54698 /include/linux/vdpa.h | |
parent | 23118b09e6e11a03cb40a86875d5d342257ae1ec (diff) | |
download | linux-28cc408be72cebb0f3fcc37bc74ab3196d4de726.tar.xz |
vdpa: Mark vdpa_config_ops.get_vq_notification as optional
Since vhost_vdpa_mmap checks for its existence before calling it.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Link: https://lore.kernel.org/r/20211104195248.2088904-1-eperezma@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'include/linux/vdpa.h')
-rw-r--r-- | include/linux/vdpa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/vdpa.h b/include/linux/vdpa.h index ae34015b37b7..2b7db96bb7d3 100644 --- a/include/linux/vdpa.h +++ b/include/linux/vdpa.h @@ -157,7 +157,7 @@ struct vdpa_map_file { * @vdev: vdpa device * @idx: virtqueue index * @state: pointer to returned state (last_avail_idx) - * @get_vq_notification: Get the notification area for a virtqueue + * @get_vq_notification: Get the notification area for a virtqueue (optional) * @vdev: vdpa device * @idx: virtqueue index * Returns the notifcation area |