History

vdpa: Mark vdpa_config_ops.get_vq_notification as optional

Since vhost_vdpa_mmap checks for its existence before calling it.

Eugenio Pérez committed 5 years ago

Commit 28cc4081 parent 23118b01 file · +1 −1Browse files

Showing the changes to include (1 of 1 file). Show all

Unified · Split

include/linux/vdpa.h+1−1
@@ -157,7 +157,7 @@ struct vdpa_map_file { · 156 unmodified lines
157157 * @vdev: vdpa device
158158 * @idx: virtqueue index
159159 * @state: pointer to returned state (last_avail_idx)
160− * @get_vq_notification: Get the notification area for a virtqueue
160+ * @get_vq_notification: Get the notification area for a virtqueue (optional)
161161 * @vdev: vdpa device
162162 * @idx: virtqueue index
163163 * Returns the notifcation area

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t