phy_check_downshift(9)
okay so bestie, welcome to phy_check_downshift(9) β thatβs the Kernel API Manual page weβre reading, and itβs honestly a whole little vibe check for your PHY. π
β¨
πΈ NAME πΈ
phy_check_downshift β check whether downshift occurred. Periodt. π
π¦ SYNOPSIS π¦
void phy_check_downshift (struct phy_device *phydev );
No cap, thatβs the whole signature. π«Ά
π ARGUMENTS π
phydevβ thephy_devicestruct. Yep, thestruct phy_deviceitself is what you pass in, bestie. π
β¨ DESCRIPTION β¨
So this function checks whether a downshift to a lower speed occurred. If that should be the case, it warns the user. π¨
The prerequisite for detecting downshift is that the PHY driver implements the read_status callback and sets phydev->speed to the actual link speed. Thatβs the prerequisite, periodt. π«Ά
π SEE ALSO π
Kernel file: ./drivers/net/phy/phy-core.c. Hereβs the full lineup, and yes every single one is invited to the group chat: π
phy_speed_to_str(9)phy_duplex_to_str(9)phy_rate_matching_to_str(9)phy_fix_phy_mode_for_mac_delays(9)phy_interface_num_ports(9)phy_set_max_speed(9)of_set_phy_timing_role(9)phy_resolve_aneg_pause(9)phy_resolve_aneg_linkmode(9)__phy_read_mmd(9)phy_read_mmd(9)__phy_write_mmd(9)phy_write_mmd(9)phy_modify_changed(9)__phy_modify(9)phy_modify(9)__phy_modify_mmd_changed(9)phy_modify_mmd_changed(9)__phy_modify_mmd(9)phy_modify_mmd(9)phy_save_page(9)phy_select_page(9)phy_restore_page(9)phy_read_paged(9)phy_write_paged(9)phy_modify_paged_changed(9)phy_modify_paged(9)
And thatβs the whole page, bestie. Footer tea for the record: this one lives under ./drivers/net/phy, the date on it is October 2026, and itβs still phy_check_downshift(9). Slay. ππ
π¦ 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