nv_update_linkspeed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– nv_update_linkspeed(9) πŸ’–

okay bestie, this is the Kernel API Manual entry for nv_update_linkspeed(9) β€” manual name folded in near the top like a responsible icon, no copied header line here. let's go 🫢


✨ NAME ✨

nv_update_linkspeed β€” Setup the MAC according to the link partner.

🌸 SYNOPSIS 🌸

int nv_update_linkspeed (struct net_device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” network device to be configured. that's the main character getting configured, periodt πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so first, the function queries the PHY and checks if there's a link partner. if yes, then it sets up the MAC accordingly β€” slay. if not, the MAC is set to 10 MBit HD. lowkey the fallback, highkey necessary.

and the return value? here's the vibe check:

  • returns 0 if there is no link partner.
  • returns 1 if there is a good link partner.

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/net/ethernet/nvidia/forcedeth.c

and that's the page, bestie πŸŽ€ this one is sourced from ./drivers/net/ethernet/nvidia, dated October 2026. mwah, go configure something cute πŸ’‹

πŸ“¦ where this page comes from