aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/vdpa.h
diff options
context:
space:
mode:
authorEugenio Pérez <eperezma@redhat.com>2021-11-04 20:52:48 +0100
committerMichael S. Tsirkin <mst@redhat.com>2022-01-14 18:50:52 -0500
commit28cc408be72cebb0f3fcc37bc74ab3196d4de726 (patch)
treeffa5faa4f7b31586f3372963e6c5128bbda54698 /include/linux/vdpa.h
parentvdpa: Avoid duplicate call to vp_vdpa get_status (diff)
downloadlinux-dev-28cc408be72cebb0f3fcc37bc74ab3196d4de726.tar.xz
linux-dev-28cc408be72cebb0f3fcc37bc74ab3196d4de726.zip
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.h2
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