diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-02-03 00:35:11 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-02-03 00:35:11 +0000 |
commit | 7b2855e567ddf18a09fd053438f4a68e2e167131 (patch) | |
tree | 245f1e87cdbf8539d8b26fc8546c2f69dad40082 /original/uapi/linux/vhost.h | |
parent | bd0aa1bd2b2cce6109560342055033661df4b20e (diff) | |
parent | 1ddb51a8024161301cc84fed01038714b4b10e5b (diff) | |
download | kernel-headers-simpleperf-release.tar.gz |
Merge "Snap for 11400057 from e3358b9b029365a42470f75b2525a5259a63f3b3 to simpleperf-release" into simpleperf-releasesimpleperf-release
Diffstat (limited to 'original/uapi/linux/vhost.h')
-rw-r--r-- | original/uapi/linux/vhost.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/original/uapi/linux/vhost.h b/original/uapi/linux/vhost.h index f5c48b6..649560c 100644 --- a/original/uapi/linux/vhost.h +++ b/original/uapi/linux/vhost.h @@ -219,4 +219,12 @@ */ #define VHOST_VDPA_RESUME _IO(VHOST_VIRTIO, 0x7E) +/* Get the group for the descriptor table including driver & device areas + * of a virtqueue: read index, write group in num. + * The virtqueue index is stored in the index field of vhost_vring_state. + * The group ID of the descriptor table for this specific virtqueue + * is returned via num field of vhost_vring_state. + */ +#define VHOST_VDPA_GET_VRING_DESC_GROUP _IOWR(VHOST_VIRTIO, 0x7F, \ + struct vhost_vring_state) #endif |