diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/vhost_user_loopback.h | 3 | ||||
-rw-r--r-- | include/virtio_loopback.h | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/include/vhost_user_loopback.h b/include/vhost_user_loopback.h index 8b0294f..25f9a25 100644 --- a/include/vhost_user_loopback.h +++ b/include/vhost_user_loopback.h @@ -239,6 +239,9 @@ typedef struct Device { int device_index; int requires_socket; int client_socket; + bool priority_enabled; + int credits; + int priority_group; } Device; typedef struct adapter_dev { diff --git a/include/virtio_loopback.h b/include/virtio_loopback.h index e3f4a78..878bd4f 100644 --- a/include/virtio_loopback.h +++ b/include/virtio_loopback.h @@ -493,10 +493,11 @@ typedef struct virtio_device_info_struct { unsigned long version; unsigned long device_id; unsigned long vendor; - + bool priority_enabled; + unsigned long credits; + unsigned long priority_group; } virtio_device_info_struct_t; - /* Negotiation structs */ typedef struct { int counter; } atomic_t; |