diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2018-03-27 05:56:04 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-03-27 19:34:49 +0300 |
commit | 396b1957817e0bd14697e28d9fe61bfc80f1350f (patch) | |
tree | b5847b88579fe9c8056b04676aa40df183337e07 /notifications-be.c | |
parent | 91d9850e5a0b0eb268352fc5fa18f592fc3ca294 (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-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; +}; |