STRUCT VIRTCHNL2_SINGLEQ_RX_BUF_DESC(9)
π STRUCT VIRTCHNL2_SINGLEQ_RX_BUF_DESC(9) π
okay so we're in the Kernel API Manual bestie, and today's main character is a struct. yes a whole struct. and honestly? she's kind of iconic in a quiet-luxury way π
β¨ NAME β¨
struct virtchnl2_singleq_rx_buf_desc β the SingleQ RX buffer descriptor format. that's it. that's her whole job. π
πΈ SYNOPSIS πΈ
struct virtchnl2_singleq_rx_buf_desc {
__le64 pkt_addr;
__le64 hdr_addr;
__le64 rsvd1;
__le64 rsvd2;
};
look at that layout. four __le64 fields, all lined up, no drama, no cap β¨
π¦ MEMBERS π¦
pkt_addrβ the packet buffer address. this is where your actual packet data lives, slay πhdr_addrβ the header buffer address. the header hangs out here, separate from the packet body, iykykrsvd1β reserved. like, reserved-reserved. don't touch, she's not for you πrsvd2β also reserved. a second one. because one reserved field was lowkey not enough π«Ά
β DESCRIPTION β
bestie, it's a SingleQ buffer layout and it looks exactly like this:
SingleQ buffer |
0| ---------------------------------------------------------------- | Rx
packet buffer address |
---------------------------------------------------------------- | Rx
header buffer address |
---------------------------------------------------------------- | RSV
| ---------------------------------------------------------------- | RSV
| ---------------------------------------------------------------- |
0|
so you got your Rx packet buffer address, then your Rx header buffer address, then two RSV slots that are just vibing doing absolutely nothing. the way the structure just... holds space for them π reserved fields have main character energy for no reason fr fr.
π SEE ALSO π
- Kernel file
./include/linux/net/intel/virtchnl2_lan_desc.h struct virtchnl2_splitq_rx_buf_desc(9)struct virtchnl2_singleq_base_rx_desc(9)struct virtchnl2_rx_flex_desc_nic(9)struct virtchnl2_rx_flex_desc_adv_nic_3(9)
go read those too, they're literally her cousins π
and that's the whole page bestie, no notes π this lived in ./include/linux/net/intel, dated October 2026, and it's the struct virtc..._rx_buf_desc(9) page β mwah, go forth and describe your buffers π§ββοΈπΈ
π¦ 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