nv_update_linkspeed(9)
π 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
0if there is no link partner. - returns
1if 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms