From 396b1957817e0bd14697e28d9fe61bfc80f1350f Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Tue, 27 Mar 2018 05:56:04 +0300 Subject: 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 --- notifications-le.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 notifications-le.c (limited to 'notifications-le.c') 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; +}; -- cgit v1.2.3