summaryrefslogtreecommitdiff
path: root/notifications-le.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2018-03-27 05:56:04 +0300
committerMichael S. Tsirkin <mst@redhat.com>2018-03-27 19:34:49 +0300
commit396b1957817e0bd14697e28d9fe61bfc80f1350f (patch)
treeb5847b88579fe9c8056b04676aa40df183337e07 /notifications-le.c
parent91d9850e5a0b0eb268352fc5fa18f592fc3ca294 (diff)
VIRTIO_F_NOTIFICATION_DATA: extra data to devices
Some devices benefit from ability to find out the number of available descriptors in the ring: for efficiency or as a debugging aid. To help with these optimizations, add a new feature: VIRTIO_F_NOTIFICATION_DATA. When negotiated, driver notifications to the device include this extra information. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'notifications-le.c')
-rw-r--r--notifications-le.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/notifications-le.c b/notifications-le.c
new file mode 100644
index 0000000..fe51267
--- /dev/null
+++ b/notifications-le.c
@@ -0,0 +1,5 @@
+le32 {
+ vqn : 16;
+ next_off : 15;
+ next_wrap : 1;
+};