STRUCT LIBIE_CP_DMA_MEM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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.h enum
  • 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