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-be.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 notifications-be.c (limited to 'notifications-be.c') diff --git a/notifications-be.c b/notifications-be.c new file mode 100644 index 0000000..5be947e --- /dev/null +++ b/notifications-be.c @@ -0,0 +1,5 @@ +be32 { + vqn : 16; + next_off : 15; + next_wrap : 1; +}; -- cgit v1.2.3