STRUCT LIBIE_CP_DMA_MEM(9)
β¨ struct libie_cp_dma_mem(9) β¨
okay bestie, welcome to the Kernel API Manual β yes that's the manual name, don't @ me β and today's main character is struct libie_cp_dma_mem, fr fr. π
πΈ NAME πΈ
struct libie_cp_dma_mem β the structure for DMA memory. that's it. that's the whole vibe. it's giving "small struct, big responsibilities" π«Ά
π¦ SYNOPSIS π¦
like, here's literally the whole thing, character for character, no cap:
struct libie_cp_dma_mem {
void *va;
dma_addr_t pa;
size_t size;
int direction;
};
she's compact. she's iconic. she has four members and zero drama. periodt. β¨
π Members π
okay so let's meet the squad, one by one π
vaβ the virtual address. the vibes address, if you will π§paβ the physical address. yes they're different, no it's not a typo, iykyk π₯sizeβ the memory size, aka how much we're working with, bestie πdirectionβ is it memory to device, or device to memory? that's the whole question, and this field is the answer π (literally the plot of every DMA story ever)
π SEE ALSO π
the full friend group, no one left out, we don't do that here π
- Kernel file
./include/linux/net/intel/libie/controlq.henum libie_ctlq_type(9)struct libie_ctlq_ctx(9)struct libie_ctlq_reg(9)struct libie_ctlq_msg(9)struct libie_ctlq_create_info(9)struct libie_ctlq_info(9)struct libie_ctlq_desc(9)struct libie_ctlq_clean_params(9)libie_ctlq_release_rx_buf(9)enum libie_ctlq_xn_state(9)struct libie_ctlq_xn(9)struct libie_ctlq_xn_manager(9)struct libie_ctlq_xn_send_params(9)libie_cp_can_send_onstack(9)struct libie_ctlq_xn_recv_params(9)struct libie_ctlq_xn_init_params(9)
like go read them?? they're all right there?? this struct does NOT exist in a vacuum, bestie π
and that's the whole page, mwah π β brought to you by ./include/linux/net/intel/libie, dated October 2026, still sitting pretty at struct libie_cp_dma_mem(9) in the footer like the little icon she is πβ¨
π¦ 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