dpmac_set_link_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to dpmac_set_link_state, a little function living its best life in the Kernel API Manual. no cap, the whole job of this icon is setting the Ethernet link status β€” that's it, that's the vibe. πŸ¦‹


✨ NAME ✨

dpmac_set_link_state β€” Set the Ethernet link status


πŸŽ€ SYNOPSIS πŸŽ€

int dpmac_set_link_state (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , struct dpmac_link_state *link_state );

she's an int-returning girlie, and yes the line break is real, that's just how the manpage chose to lay it out πŸ’…


🌸 ARGUMENTS 🌸

  • mc_io β€” Pointer to an opaque I/O object. opaque means you don't peek inside, you just hold hands with it and trust the process 🫢
  • cmd_flags β€” Command flags; one or more of 'MC_CMD_FLAG_'. yes, plural-able, stack 'em if you need to ✨
  • token β€” Token of DPMAC object. that's your little backstage pass to the DPMAC, keep it safe πŸ”‘
  • link_state β€” Link state configuration. this is where you tell her what the link should actually be doing πŸ”₯

⭐ RETURN ⭐

so… this section is literally empty on the page. no return values listed, nothing, a whole lot of silence 😭 i'm not gonna invent lore that isn't there β€” if you need the return semantics, go read the actual thing. fr fr.


πŸ‘‘ SEE ALSO πŸ‘‘

like, the entire dpmac friend group, and honestly? obsessed. go read them all, iykyk 🌈


πŸ’€ reminder: everything above is exactly what the page says β€” don't go adding your own flags or guessing at returns, that's not slay, that's just making stuff up.

and that's the whole vibe check bestie, mwah πŸ’– this little number comes to you from ./drivers/net/ethernet/freesca... (the path got a lil truncated, rip) and it's dated October 2026. go forth and set those link states, periodt πŸŽ€βœ¨

πŸ“¦ where this page comes from