ixgbevf_get_pf_link_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so real talk: this little function lives in the Kernel API Manual (that's the manual name, iykyk) and it's basically the VF going "hey PF bestie… is the link up or not?? and how fast are we going??" πŸ‘€βœ¨


🌸 NAME 🌸

ixgbevf_get_pf_link_state β€” get the PF's link status 🫢


⭐ SYNOPSIS ⭐

int ixgbevf_get_pf_link_state (struct ixgbe_hw *hw , ixgbe_link_speed
*speed , bool *link_up );

πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW structure. like, the whole hardware vibe itself πŸ’…
  • speed β€” link speed. this is where the answer goes, so it's giving output-parameter energy ✨
  • link_up β€” indicate if link is up/down. true-ish = up, false-ish = down, that's the whole mood πŸ¦‹

πŸ’œ DESCRIPTION πŸ’œ

Ask PF to provide link_up state and speed of the link. that's it, that's the function. it literally just sends the ask over to the PF and the PF comes back with the tea β˜• no cap, that's the entire plot πŸ™ˆ


πŸ”₯ RETURN πŸ”₯

  • IXGBE_ERR_MBX β€” in the case of mailbox error 😭 (the mailbox flopped, not you)
  • -EOPNOTSUPP β€” if the op is not supported πŸ™…β€β™€οΈ
  • 0 β€” on success, slay πŸ‘‘βœ¨

🧚 SEE ALSO 🧚

Kernel file ./drivers/net/ethernet/intel/ixgbevf/vf.c β€” that's where she lives, go say hi πŸŽ€

and then the whole friend group, fr fr:


✨ okay that's the page, bestie ✨ this cutie pie was served from ./drivers/net/ethernet/intel/i... and dated October 2026, and yes she's still out here being ixgbevf_get_pf_link_state(9) β€” icon behavior only πŸ’…πŸ’–πŸ¦‹

πŸ“¦ where this page comes from