phy_check_link_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okurrr bestie, welcome to phy_check_link_status(9) β€” the kernel API manual page that checks link status and sets state accordingly πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int phy_check_link_status (struct phy_device *phydev );

🌸 ARGUMENTS 🌸

  • phydev β€” the phy_device struct, aka the little guy you're checking on 🫢

πŸ’… DESCRIPTION πŸ’…

So here's the tea: it checks for link and whether autoneg was triggered / is running, and sets state accordingly. That's the whole function, no cap ✨


🌈 SEE ALSO 🌈

Kernel file ./drivers/net/phy/phy.c β€” and the whole friend group is here:


Source/version: ./drivers/net/phy β€’ date: October 2026 β€’ manual name: phy_check_link_status(9) β€” bye bestie, go check that link πŸ’…πŸ’–

πŸ“¦ where this page comes from