phy_set_sym_pause(9)
π phy_set_sym_pause(9)
okay so this is a page from the Kernel API Manual, bestie β that's the manual name, we're not doing the whole header line thing, we're keeping it cute. Sit down, hydrate, and let's talk about symmetric Pause β¨
β¨ NAME β¨
phy_set_sym_pause β Configure symmetric Pause. that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
void phy_set_sym_pause (struct phy_device *phydev , bool rx , bool tx ,
bool autoneg );
yes it's a void function, no return value, no drama, she's a doer π
π¦ ARGUMENTS π¦
phydevβ the targetphy_devicestruct. your main character, the phy device you're messing with π«Άrxβ Receiver Pause is supported.bool, so it's giving true/false energy β¨txβ Transmit Pause is supported. also abool, also important πautonegβ Auto neg should be used. anotherboolβ do we let autoneg cook or not π₯
π DESCRIPTION π
so what she actually does: she configures the advertised Pause support, depending on if receiver pause and pause auto neg is supported. it's a vibes-based config, but the vibes are hardware capabilities π
generally it's called from the set_pauseparam .ndo β lowkey that's her home base, that's where she gets summoned from π
β SEE ALSO β
the whole squad, all of them, no one gets left out π
also the kernel file: ./drivers/net/phy/phy_device.c β that's where the source lives, go say hi π
phy_uses_state_machine(9)phy_register_fixup(9)genphy_match_phy_device(9)get_phy_c45_ids(9)get_phy_c22_id(9)get_phy_device(9)phy_device_register(9)phy_device_remove(9)phy_get_c45_ids(9)phy_find_next(9)phy_prepare_link(9)phy_connect_direct(9)phy_connect(9)phy_disconnect(9)phy_poll_reset(9)phy_sfp_connect_phy(9)phy_sfp_disconnect_phy(9)phy_sfp_attach(9)phy_sfp_detach(9)phy_sfp_probe(9)phy_attach_direct(9)phy_detach(9)phy_reset_after_clk_enable(9)genphy_config_advert(9)genphy_c37_config_advert(9)genphy_setup_forced(9)genphy_restart_aneg(9)genphy_check_and_restart_aneg(9)__genphy_config_aneg(9)genphy_c37_config_aneg(9)genphy_aneg_done(9)genphy_update_link(9)genphy_read_status_fixed(9)genphy_read_status(9)genphy_c37_read_status(9)genphy_soft_reset(9)genphy_read_abilities(9)phy_remove_link_mode(9)phy_advertise_supported(9)phy_advertise_eee_all(9)phy_support_eee(9)phy_disable_eee(9)phy_support_sym_pause(9)phy_support_asym_pause(9)phy_set_asym_pause(9)phy_validate_pause(9)phy_get_pause(9)phy_get_internal_delay(9)phy_get_tx_amplitude_gain(9)phy_get_mac_termination(9)phy_get_sfp_port(9)fwnode_mdio_find_device(9)fwnode_phy_find_device(9)fwnode_get_phy_node(9)phy_probe(9)phy_driver_register(9)
anyway that's the whole page, periodt π
this dropped out of ./drivers/net/phy back in October 2026 β iconic of her, honestly, and we're all obsessed πβ¨π¦
π¦ 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