diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2018-03-27 19:37:22 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-12-12 17:21:29 -0500 |
commit | 4ca1311444961e19f65d0a662a07be9df382c2b7 (patch) | |
tree | 47b211ddff39287b37beeb38e1538075cfe08b41 /notifications-be.c | |
parent | 3c19f4b6bf7dcfdac96ade31c459c4288966600c (diff) | |
download | virtio-spec-4ca1311444961e19f65d0a662a07be9df382c2b7.tar.gz |
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.
Fixes: https://github.com/oasis-tcs/virtio-spec/issues/26
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'notifications-be.c')
-rw-r--r-- | notifications-be.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; +}; |