phy_caps_lo...linkmode_rev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so welcome to the phy_caps_lo...linkmode_rev(9) page in the Kernel API Manual, bestie. This one is all about phy_caps_lookup_by_linkmode_rev β€” the function whose whole job is to look up the slowest matching link_capabilities. That's it. That's the assignment. iconic πŸ’…βœ¨


✨ SYNOPSIS ✨

const struct link_capabilities * phy_caps_lookup_by_linkmode_rev (const
       unsigned long *linkmodes , bool fdx_only );

πŸ’… ARGUMENTS πŸ’…

  • linkmodes β€” the linkmodes to match against. matching energy only, no cap πŸŽ€
  • fdx_only β€” full duplex match only when set. so when it's set, bestie, it's full-duplex-only hours πŸ¦‹

πŸ”₯ RETURN πŸ”₯

It returns the lowest-speed link_capabilities that intersects the given linkmodes. When set, fdx_only will ignore half-duplex matches. And if there's no match? NULL is returned. no match, no vibes, just NULL πŸ˜­πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/phy/phy_caps.c β€” and the whole bestie crew is right here:


okay that's the page, bestie 🫢 source/version vibes are ./drivers/net/phy, dated October 2026, and yes β€” the manual name is phy_caps_lo...linkmode_rev(9). slay, go read some kernel code πŸ’–βœ¨

πŸ“¦ where this page comes from