dma_free_rx_xskbufs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dma_free_rx_xskbufs β€” like, the Kernel API Manual page, bestie ✨

okay so picture this: you're deep in the Kernel API Manual (man section 9, kernel-internals territory 🧚) and you've stumbled onto dma_free_rx_xskbufs. Welcome, bestie, you're exactly where you need to be 🫢


🌸 NAME 🌸

dma_free_rx_xskbufs β€” it frees the RX dma buffers from the XSK pool. That's the whole vibe. Freeing. Buffers. RX. XSK. Slay. πŸ’…


✨ SYNOPSIS ✨

void dma_free_rx_xskbufs (struct stmmac_priv *priv , struct
stmmac_dma_conf *dma_conf , u32 queue );

no cap, that's the whole signature. three args, void return, in and out. iconic behavior honestly πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • priv β€” the private structure. yeah, the private structure, main character energy, she holds everything πŸ”₯
  • dma_conf β€” this is the structure you take the dma data from. she's giving "storage unit for DMA stuff" ✨
  • queue β€” the RX queue index. literally just which RX queue we're talking about, okay? the index. that's her 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

okay so first, the file this lives in, because context is everything bestie:

Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

and now, the entire friend group 😭 β€” every single one of these, no skips, I promised:


ngl bestie, this is a kernel-internals page β€” no options, no flags, no environment variables, no exit statuses here. just a function, her three arguments, and her absolutely enormous SEE ALSO list. that's the tea β˜•πŸ’€

and that's the whole page, periodt πŸŽ€ source for this masterpiece is ./drivers/net/ethernet/stmicro... and it's dated October 2026, so like, mark your calendars bestie πŸ—“οΈπŸ’– bye, love you, go free those buffers responsibly πŸ¦‹βœ¨

πŸ“¦ where this page comes from