STRUCT SKBUF_DMA_DESCRIPTOR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct skbuf_dma_descriptor(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” we're looking at struct skbuf_dma_descriptor, and it's giving β€œone skb for each dma descriptor” energy. That's literally the whole vibe: skb for each dma descriptor. No cap. πŸ¦‹


πŸ’– NAME πŸ’–

struct skbuf_dma_descriptor β€” skb for each dma descriptor. ✨


✨ SYNOPSIS ✨

       struct skbuf_dma_descriptor {
           struct scatterlist sgl[MAX_SKB_FRAGS + 1];
           struct dma_async_tx_descriptor *desc;
           dma_addr_t dma_address;
           struct sk_buff *skb;
           int sg_len;
        };

🫢 Members 🫢

okay these are the members, bestie β€” every single one is iconic:

  • sgl β€” pointer for sglist. πŸ’…
  • desc β€” pointer to dma descriptor. πŸ”₯
  • dma_address β€” dma address of sglist. πŸŽ€
  • skb β€” pointer to SKB transferred using DMA. πŸ‘‘
  • sg_len β€” number of entries in the sglist. 🌸

πŸ”— SEE ALSO πŸ”—

like, go peek at the Kernel file ./drivers/net/ethernet/xilinx/xilinx_axienet.h for the full lore, and also these related structs/functions:


source/version vibes: ./drivers/net/ethernet/xilinx Β· date: October 2026 Β· and yeah bestie, this footer is for struct skbuf_dma_descriptor(9) β€” periodt. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from