STRUCT VDUSE_VQ_INFO(9)
π struct vduse_vq_info(9) π
okay bestie, welcome to the Kernel API Manual β yes that's the manual name, no I will not be shortening it, it's giving official. today's main character is struct vduse_vq_info, and honestly? she's just a lil info card for a virtqueue. lowkey iconic. π
β¨ NAME β¨
struct vduse_vq_info β literally just "information of a virtqueue". that's it. that's the vibe check. π¦
πΈ SYNOPSIS πΈ
here's the whole glow-up, character for character, don't touch:
struct vduse_vq_info {
__u32 index;
__u32 num;
__u64 desc_addr;
__u64 driver_addr;
__u64 device_addr;
union {
struct vduse_vq_state_split split;
struct vduse_vq_state_packed packed;
};
__u8 ready;
};
she's structured. she's unioned. she's ready (literally, there's a field). π₯
π«Ά Members π«Ά
okay so let's meet the cast, one by one, no skips:
indexβ the virtqueue index. her little name tag β¨numβ the size of virtqueue. how much room she's got, basically πdesc_addrβ address of desc area πdriver_addrβ address of driver area πdevice_addrβ address of device area π{unnamed_union}β it's anonymous. no name. mysterious. main character energy tbh πsplitβ split virtqueue state π§packedβ packed virtqueue state π§readyβ ready status of virtqueue. she's ready, she's been ready, periodt π
ngl bestie, the three *_addr fields are just three addresses and there is no extra lore in this page about them. don't come for me, I only report what the manpage says. π
π Description π
so like, what IS she? she's the structure used by the VDUSE_VQ_GET_INFO ioctl to get virtqueue's information. that's the whole gig. get info, slay, leave. π
β SEE ALSO β
the whole friend group π«Ά β and heads up, the kernel file lives at ./include/uapi/linux/vduse.h:
struct vduse_dev_config(9)struct vduse_iotlb_entry(9)struct vduse_config_data(9)struct vduse_vq_config(9)struct vduse_vq_state_split(9)struct vduse_vq_state_packed(9)struct vduse_vq_group_asid(9)struct vduse_vq_eventfd(9)struct vduse_iova_umem(9)struct vduse_iova_info(9)struct vduse_iotlb_entry_v2(9)enum vduse_req_type(9)struct vduse_vq_state(9)struct vduse_dev_status(9)struct vduse_iova_range(9)struct vduse_iova_range_v2(9)struct vduse_vq_ready(9)struct vduse_dev_request(9)struct vduse_dev_response(9)
and that's a wrap, bestie π this page came from ./include/uapi/linux, dated October 2026, and she answers to the name struct vduse_vq_info(9). go get that virtqueue info, you absolute icon πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms