diff options
| author | Eugenio Pérez <[email protected]> | 2021-11-04 20:52:48 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2022-01-14 18:50:52 -0500 |
| commit | 28cc408be72cebb0f3fcc37bc74ab3196d4de726 (patch) | |
| tree | ffa5faa4f7b31586f3372963e6c5128bbda54698 /include/linux | |
| parent | 23118b09e6e11a03cb40a86875d5d342257ae1ec (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Diffstat (limited to 'include/linux')
| -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 |