phylink_ethtool_get_wol(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual, and buckle up because this one is short but she is important. This is phylink_ethtool_get_wol β€” the little function whose whole entire job is asking the PHY "hey girl, what's your wake-on-LAN situation?" πŸ”₯


✨ NAME ✨

phylink_ethtool_get_wol β€” literally just get the wake on lan parameters for the PHY 🫢


🌸 SYNOPSIS 🌸

void phylink_ethtool_get_wol (struct phylink *pl , struct
ethtool_wolinfo *wol );

no cap, that's the whole thing. she takes two pointers and returns void. lowkey iconic of her πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pl β€” a pointer to a struct phylink that came back from phylink_create. like, the phylink instance in question, bestie πŸŽ€
  • wol β€” a pointer to struct ethtool_wolinfo where the read parameters get held. it's the lil container for the answer πŸ’–

⭐ DESCRIPTION ⭐

So here's the tea β˜•: this function reads the wake on lan parameters from the PHY attached to the phylink instance you specified in pl. that's it. that's the vibe. she goes and looks at the PHY, grabs the wol params, done ✨

and if there's no PHY currently attached? bestie, it just reports no support for wake on lan. not a crash, not a drama, just a polite "nope, not available" πŸ’€πŸ™ˆ

ngl that's genuinely the most chill error handling ever. main character energy fr fr πŸ‘‘


🧚 SEE ALSO 🧚

okay this is the part where she shows you her entire friend group. there are so many of them, and we are listing every single one because nobody gets left behind 🫢

Kernel file ./drivers/net/phy/phylink.c struct phylink(9), phylink_set_port_modes(9), phylink_interface_max_speed(9), phylink_caps_to_link_caps(9), phylink_caps_to_linkmodes(9), phylink_limit_mac_speed(9), phylink_cap_from_speed_duplex(9), phylink_get_capabilities(9), phylink_validate_mask_caps(9), phylink_pcs_neg_mode(9), phylink_set_fixed_link(9), phylink_create(9), phylink_destroy(9), phylink_expects_phy(9), phylink_connect_phy(9), phylink_of_phy_connect(9), phylink_fwnode_phy_connect(9), phylink_disconnect_phy(9), phylink_mac_change(9), phylink_pcs_change(9), phylink_start(9), phylink_stop(9), phylink_rx_clk_stop_block(9), phylink_rx_clk_stop_unblock(9), phylink_suspend(9), phylink_prepare_resume(9), phylink_resume(9), phylink_ethtool_set_wol(9), phylink_ethtool_ksettings_get(9), phylink_ethtool_ksettings_set(9), phylink_ethtool_nway_reset(9), phylink_ethtool_get_pauseparam(9), phylink_ethtool_set_pauseparam(9), phylink_get_eee_err(9), phylink_ethtool_get_eee(9), phylink_ethtool_set_eee(9), phylink_mii_ioctl(9), phylink_speed_down(9), phylink_speed_up(9), phylink_decode_usxgmii_word(9), phylink_decode_usgmii_word(9), phylink_mii_c22_pcs_decode_state(9), phylink_mii_c22_pcs_get_state(9), phylink_mii_c22_pcs_encode_advertisement(9), phylink_mii_c22_pcs_config(9), phylink_mii_c22_pcs_an_restart(9), phylink_replay_link_begin(9), phylink_replay_link_end(9)

iykyk πŸ’…


and that's the whole page, bestie! mwah πŸ“

source path ./drivers/net/phy Β· dated October 2026 Β· from theKernel API Manual β€” love u, go read the rest of the phylink girlies, bye!! πŸ’œπŸŒˆπŸŽ€

πŸ“¦ where this page comes from