ice_ksettin...v_link_speed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual entry for a little function that lives rent-free in the Intel ice driver. yes the title got truncated with ... β€” that's not a typo, that's just the manpage being dramatic and mysterious. it's giving "mystery novel but make it C". πŸ’€


✨ NAME ✨

ice_ksettings_find_adv_link_speed β€” literally just Find advertising link speed. that's it. that's the whole gig. she finds the advertised link speed. iconic behaviour, no notes. πŸ‘‘


🌸 SYNOPSIS 🌸

u16 ice_ksettings_find_adv_link_speed (const struct
ethtool_link_ksettings *ks );

so she takes one argument, she gives you back a u16. short, sweet, to the point. main character energy fr fr. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ks β€” ethtool ksettings. like, the ksettings struct from ethtool. that's the whole description, bestie, the manpage was not in a chatty mood that day πŸ™ˆ β€” it's your const struct ethtool_link_ksettings *, and she's gonna go look at it to find that advertising link speed.

πŸ’– SEE ALSO πŸ’–

okay this section ate and left no crumbs β€” look at ALL these siblings. she has a huge family. iykyk. 🫢

first up, the file she actually lives in:

  • Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c

and now the whole squad, in order, no cap, none skipped:

like?? sixty-something functions?? she's that girl with that friend group. obsessed. πŸ’œ

ok tiny note bestie: this page is short on purpose β€” it's one function, one arg, one return type, and a whole lotta SEE ALSO. don't go looking for extra options or env vars here, there truly aren't any. πŸ™ˆ

🌈 cutie sign-off 🌈

this lil page came from the source tree at ./drivers/net/ethernet/intel/ice, dated October 2026, and it goes by ice_ksettin...v_link_speed(9) β€” yes, still truncated, still slaying. πŸ’…βœ¨ go find those advertising link speeds, bestie. you got this. πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from