ixgbevf_check_mac_link_vf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's a lil function from the ixgbevf driver and honestly it's giving "just check if the cable's plugged in" but make it ~kernel elegant~ πŸŽ€


🌸 NAME 🌸

ixgbevf_check_mac_link_vf β€” literally just gets you the link/speed status, no cap ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

s32 ixgbevf_check_mac_link_vf (struct ixgbe_hw *hw , ixgbe_link_speed
*speed , bool *link_up , bool autoneg_wait_to_complete );

πŸ’… ARGUMENTS πŸ’…

  • hw β€” pointer to the hardware structure 🫢 like, the whole vibe of the physical device lives in here
  • speed β€” pointer to link speed πŸƒβ€β™€οΈ it's a pointer bestie, so the function can write the answer back to you
  • link_up β€” true if link is up, false otherwise ⭐ (yes it's a bool *, yes it gets filled in for you)
  • autoneg_wait_to_complete β€” unused πŸ™ˆ that's it, that's the whole description, it just sits there being unused, iconic honestly

πŸ”₯ DESCRIPTION πŸ”₯

Reads the links register to determine if link is up and the current speed πŸ’€ that's the whole gig. It peeks at the register, tells you whether the link is up, and hands back the speed. main character behavior only πŸ‘‘


🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/intel/ixgbevf/vf.c β€” that's where the source lives, go look, iykyk πŸ“βœ¨

and the whole friend group 🫢:


ngl bestie, that's a lot of siblings β€” the _hv_ ones are the hypervisor variants and they're lowkey everywhere πŸ’€

k bye ily, this page came from ./drivers/net/ethernet/intel/i... and it's dated October 2026 πŸ—“οΈπŸ’œ so go forth and check those MAC links, bestie β€” slay πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from