diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-08-30 15:26:26 +0300 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-08-30 15:26:26 +0300 |
| commit | 02af1db05dcce05603eb51ba3e93c6f88d6ea287 (patch) | |
| tree | 6b99bb9397e240e0fd8b4c0ef3a2cefdcf7a4934 /include/uapi | |
| parent | d92e600f860ba98eac576a976c275106af575c82 (diff) | |
| parent | 393d0f5c2a6fd054a0e5a15c0f57517b43b1d5af (diff) | |
| download | linux-02af1db05dcce05603eb51ba3e93c6f88d6ea287.tar.xz | |
Merge back thermal control material for v6.1.
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/virtio_ring.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/include/uapi/linux/virtio_ring.h b/include/uapi/linux/virtio_ring.h index 476d3e5c0fe7..f8c20d3de8da 100644 --- a/include/uapi/linux/virtio_ring.h +++ b/include/uapi/linux/virtio_ring.h @@ -93,15 +93,21 @@ #define VRING_USED_ALIGN_SIZE 4 #define VRING_DESC_ALIGN_SIZE 16 -/* Virtio ring descriptors: 16 bytes. These can chain together via "next". */ +/** + * struct vring_desc - Virtio ring descriptors, + * 16 bytes long. These can chain together via @next. + * + * @addr: buffer address (guest-physical) + * @len: buffer length + * @flags: descriptor flags + * @next: index of the next descriptor in the chain, + * if the VRING_DESC_F_NEXT flag is set. We chain unused + * descriptors via this, too. + */ struct vring_desc { - /* Address (guest-physical). */ __virtio64 addr; - /* Length. */ __virtio32 len; - /* The flags as indicated above. */ __virtio16 flags; - /* We chain unused descriptors via this, too */ __virtio16 next; }; |
