dp83td510_update_stats(9)
β¨ dp83td510_update_stats(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a lil function page and it's literally all about freshening up your stats, no cap.
πΈ NAME πΈ
dp83td510_update_stats β update the PHY statistics for the DP83TD510 PHY π«Ά
π SYNOPSIS π
int dp83td510_update_stats (struct phy_device *phydev );
π¦ ARGUMENTS π¦
phydevβ pointer to thephy_devicestructure. that's the whole vibe, it just points at your phy_device, periodt π«
π DESCRIPTION π
so what does she do? the function reads the PHY statistics registers and updates the statistics structure. that's it, that's the plot π₯ no extra lore, no hidden side quests β read the registers, refresh the stats struct, slay.
β RETURN β
0on success π- a negative error code on failure π (yes, negative, watch the sign bestie)
π SEE ALSO π
Kernel file ./drivers/net/phy/dp83td510.c and her supporting cast:
dp83td510_cable_test_start(9)dp83td510_cable_test_get_tdr_status(9)dp83td510_cable_test_get_alcd_status(9)dp83td510_cable_test_get_status(9)
and that's the whole page, bestie π this icon came straight out of the ./drivers/net/phy directory, dated October 2026 β write it down, remember it, put it on your fridge π§ββοΈβ¨
π¦ 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