dpni_get_link_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is <hotpink>dpni_get_link_state(9)</hotpink> from the Kernel API Manual β€” section 9, kernel API zone ✨. it's giving "tell me if the link is up or down," and honestly? iconic. πŸ’…

πŸŽ€ NAME πŸŽ€

dpni_get_link_state β€” return the link state, and by that we mean either up or down. that's the whole assignment, no cap. πŸ’–

πŸ“œ SYNOPSIS πŸ“œ

int dpni_get_link_state (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
       token , struct dpni_link_state *state );

🌸 ARGUMENTS 🌸

  • mc_io β€” pointer to MC portal's I/O object. that's your portal bestie, the I/O object handle 🫢
  • cmd_flags β€” command flags; one or more of 'MC_CMD_FLAG_'. literally a choose-your-flags moment ✨
  • token β€” token of DPNI object. keep track of that token, bestie πŸŽ€
  • state β€” returned link state;. yes, this is where the link state comes back to you πŸ’–

😭 RETURN 😭

the original page leaves this section blank β€” no return description, no value, just the heading and then it runs straight to SEE ALSO. so yeah, that's a whole mood πŸ˜­πŸ’€. i'm not gonna invent stuff, because the facts stay facts.

πŸ¦‹ SEE ALSO πŸ¦‹

okay so here's the whole DPNI family reunion β€” every single reference, bestie, no skipping:


k bye bestie πŸ’– β€” the footer says source/version: ./drivers/net/ethernet/freesca..., date: October 2026. mwah 😚✨

πŸ“¦ where this page comes from