phy_port_filter_supported(9)
πΈ NAME πΈ
okay so bestie, this page is phy_port_filter_supported(9) from the Kernel API Manual, and its whole job is literally to make sure that port->supported match port->mediums. no cap. π
β¨ SYNOPSIS β¨
void phy_port_filter_supported (struct phy_port *port );
π ARGUMENTS π
portβ the port thatβs getting filtered. thatβs the one. π«Ά
π¦ DESCRIPTION π¦
so picture this: youβve just updated a portβs mediums to a more restricted subset. this helper is the bestie who swoops in afterward and makes sure port->supported only contains linkmodes that are compatible with port->mediums. itβs giving a vibe check for supported linkmodes, and it does not let the incompatible ones crash the party. π₯
π SEE ALSO π
- Kernel file:
./drivers/net/phy/phy_port.cβ yep, thatβs the one. π phy_port_alloc(9)phy_port_destroy(9)phy_of_parse_port(9)phy_port_update_supported(9)phy_port_restrict_mediums(9)phy_port_get_type(9)
mwah π β source/version: ./drivers/net/phy, date: October 2026, and thatβs the whole cute sign-off, periodt. π
π¦ 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