t3_set_phy_speed_duplex(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… t3_set_phy_speed_duplex β€” the Kernel API Manual page, bestie edition ✨

okay so. welcome to the Kernel API Manual, and today's main character is t3_set_phy_speed_duplex. yes it's a mouthful, no we're not abbreviating it, it ate and left no crumbs πŸŽ€


🌸 NAME 🌸

t3_set_phy_speed_duplex β€” literally just force the PHY's speed and duplex. no negotiation, no vibes, no "hmm let me think about it". you pick, it does. periodt πŸ’…


✨ SYNOPSIS ✨

int t3_set_phy_speed_duplex (struct cphy *phy , int speed , int duplex
);

she returns an int, she takes three things, she's iconic, that's the whole story 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • phy β€” the PHY we're operating on. the one getting the glow-up. your girl. 🌈
  • speed β€” the requested PHY speed. you say it, she slays it.
  • duplex β€” the requested PHY duplex. the other half of the requested duo, iykyk.

πŸ”₯ DESCRIPTION πŸ”₯

so what she does is: force a 10/100/1000 PHY's speed and duplex. like, no discussion, we're locking it in πŸ”’βœ¨

and the way that this also disables auto-negotiation β€” except for GigE, where auto-negotiation is mandatory. and bestie when I say mandatory I mean mandatory, there's no "pretty please" clause, that's just how GigE rolls πŸ‘‘

ngl this is a "you asked for it" kind of function. you're overriding what the hardware would've figured out on its own, so like… be sure? πŸ’€

πŸ’œ SEE ALSO πŸ’œ

first up, the kernel file this lives in: ./drivers/net/ethernet/chelsio/cxgb3/t3_hw.c

and then the whole extended friend group, alphabetically-ish, all of them deserving of their own little moment (9):

like… the roster is stacked 🧚 no cap, go read a few, they're all slay in their own way πŸ’–


okay that's the whole page, you're officially educated πŸŽ“βœ¨ this little gem is from ./drivers/net/ethernet/chelsio..., dated October 2026, and it lives in the Kernel API Manual β€” go forth and force some speed and duplex, bestie, and remember: GigE keeps its auto-negotiation, that's just the rules πŸ’…πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from