ice_ethtool_get_maxspeed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to ice_ethtool_get_maxspeed(9) β€” the Kernel API Manual page that is literally here to get the max speed for given lport. That's the whole vibe. No cap. πŸ’…


✨ SYNOPSIS ✨

Here's the exact signature β€” do not touch the spacing, bestie, it's giving very specific:

int ice_ethtool_get_maxspeed (struct ice_hw *hw , u8 lport , u8
*max_speed );

πŸŽ€ ARGUMENTS πŸŽ€

okay the cast is:

  • hw β€” pointer to the HW struct. main character pointer energy ✨
  • lport β€” logical port for which max speed is requested. this is the port, bestie 🫢
  • max_speed β€” return max speed for input lport. this is where the answer goes πŸ’–

πŸ”₯ RETURN πŸ”₯

  • 0 on success
  • negative on failure

0 = slay, negative = not slay 😭 that's the whole return vibe.


πŸ¦‹ SEE ALSO πŸ¦‹

the friend group is huge and every single link is invited β€” no cuts, no edits, no missing besties:


signing off from ./drivers/net/ethernet/intel/ice with the October 2026 edition of ice_ethtool_get_maxspeed(9) πŸ’–πŸ«Άβœ¨

πŸ“¦ where this page comes from