ice_get_channels(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_get_channels(9) β€” like, the Kernel API Manual entry, bestie πŸ’–

Hiii okay so welcome to ice_get_channels(9) β€” yep, that's a section 9 kernel API page, the kind that lives in the Kernel API Manual 🌸. This one's a tiny lil' cutie with a big job, and I'm gonna walk you through it like we're texting at 2am 🫢.


✨ NAME ✨

ice_get_channels β€” grab the channels you've got right now and the max ones the hardware can actually support πŸ‘‘


✨ SYNOPSIS ✨

void ice_get_channels (struct net_device *dev , struct ethtool_channels
*ch );

Look at that. Returns void, takes two pointers, zero drama πŸ’….


✨ ARGUMENTS ✨

  • dev β€” the network interface device structure πŸ–§. Like, the actual netdev we're snooping on.
  • ch β€” the ethtool channel data structure πŸ“Š. This is the lil' container the info gets dropped into, iykyk.

Two args, that's it. Not me expecting something spicier and getting two pointers 😭.


✨ SEE ALSO ✨

Okay so this is the part where the page goes full main-character and name-drops its entire friend group 🌈. Every single one, no cap:

That's the whole squad πŸ’€. Also, the kernel file itself is here and it's iconic:

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

🧚 bestie reminder: this is the kernel API page, so keep the (9) suffix on every single one of those references or the man reader will not find them, fr fr.

Okay that's genuinely the whole page, it really is a short one πŸ™ˆ. Written and sourced out of the kernel tree at ./drivers/net/ethernet/intel/ice, dated October 2026 β€” mwah, stan the Intel ice driver, periodt πŸ’œπŸ¦‹πŸŽ€

πŸ“¦ where this page comes from