stmmac_rx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ stmmac_rx(9) ✨

okay so you're reading the Kernel API Manual page for stmmac_rx, and honestly? it's a little baddie of a function πŸ’… it lives in the network driver world and it's about to make your receive path make sense. buckle up bestie πŸŽ€


🌸 NAME 🌸

stmmac_rx β€” manage the receive process 🫢


⭐ SYNOPSIS ⭐

int stmmac_rx (struct stmmac_priv *priv , int limit , u32 queue );

like, that's the whole signature. three args. no cap. πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • priv β€” the driver private structure πŸ’– your little bag of driver state, the main character of the struct world.
  • limit β€” napi bugget 🧚 (yes, "bugget" β€” that's literally how it's written in the docs, i'm not fixing it, the typo is iconic and it's not mine to touch). it's the limit for this napi round.
  • queue β€” the RX queue index 🌈 which receive queue we're doing the thing on.

πŸ”₯ DESCRIPTION πŸ”₯

so this is the function that the napi poll method calls πŸ“žβœ¨ it grabs all the frames sitting inside the ring β€” like cleaning out your entire inbox in one go, no crumbs left behind πŸ“

that's it, that's the whole vibe: napi poll calls it, it hoovers up the frames from the ring, slay. πŸ’€


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c β€” go read it, it's giving source of truth πŸ“–

and here's the whole friend group, every single one of them, i'm not leaving anybody out 🫢:


and that's the page bestie!! πŸŒˆβœ¨πŸ¦‹πŸ’–

cute little sign-off before you close the tab: this one came from ./drivers/net/ethernet/stmicro... and it's dated October 2026 πŸ“…πŸ’… go forth and receive, queen πŸ‘‘

πŸ“¦ where this page comes from