stmmac_mac_flow_ctrl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… stmmac_mac_flow_ctrl β€” a Kernel API Manual moment ✨

okay so bestie, we're in the Kernel API Manual today and this is the page for stmmac_mac_flow_ctrl, which is genuinely one of those little functions that quietly keeps your ethernet from absolutely losing it 🫢


✨ NAME ✨

stmmac_mac_flow_ctrl β€” no cap, all it does is configure flow control in every single queue πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

void stmmac_mac_flow_ctrl (struct stmmac_priv *priv , u32 duplex ,
       unsigned int flow_ctrl );

it's giving "void, takes three things, returns nothing, stays unbothered" πŸ’…


🌸 ARGUMENTS 🌸

  • priv β€” the driver's private structure, aka the main character's whole personality 🫢
  • duplex β€” the duplex value, and it gets passed straight on to the next function, so it's basically a hand-off, iykyk
  • flow_ctrl β€” the flow control modes you actually want, like your order at the drive-thru πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so literally: this is the one used for configuring the flow control in all queues ✨ all of them. not some. not a couple. all. periodt πŸ’…


⭐ SEE ALSO ⭐

the whole friend group 🫢 β€” first up, the kernel file it lives in:

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

and then the entire group chat, no one left out:

like I said. everyone. invited. πŸ§šπŸ’œ


lowkey a reminder that some of these are DMA ring setup and teardown functions, so if you're poking around here and something feels off, bestie, go read the actual file 🫢 no guessing.

and that's the whole page, mwah πŸ’‹ this cutie comes to you courtesy of ./drivers/net/ethernet/stmicro... and is dated October 2026 β€” so mark your calendars, it's basically a birthday πŸŽ‚πŸŽ€ slay, bye! πŸ’–

πŸ“¦ where this page comes from