ethtool_forc...ed_maps_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ethtool_forc...ed_maps_init(9) β€” Kernel API Manual ✨

okay so bestie, welcome to the Kernel API Manual πŸŽ€ this one's a lil kernel function and honestly it's giving "quietly essential" energy. no cap.


🌸 NAME 🌸

ethtool_forced_speed_maps_init β€” literally the whole name, that's it, that's the entry (the original leaves the description blank and we are respecting the blankness 🫢)


✨ SYNOPSIS ✨

void ethtool_forced_speed_maps_init (struct ethtool_forced_speed_map
*maps , u32 size );

that's the signature, copied character for character so don't come for me πŸ’€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • maps β€” a pointer to an array of Ethtool forced speed map πŸ‘‘ like, the actual array, bestie, not a copy, a pointer to it.
  • size β€” the array size. the how-many. the count. πŸ”’

πŸ’– DESCRIPTION πŸ’–

so what it does: it initializes an array of Ethtool forced speed map to Ethtool link modes ✨ that's the vibe check and it passed.

and the important part β€” this should be called during driver module init. like, that's the moment. main character energy only at module init time, bestie 🧚 periodt.


⭐ SEE ALSO ⭐

the kernel file ./net/ethtool/common.c is where the magic lives, plus these sibling functions that you should also go look at (iykyk):

go read them, they're lowkey iconic too 🌈


πŸ’€ no warnings, no errors, no exit statuses in this one β€” it's a clean lil init function. enjoy the peace while it lasts πŸ™ˆ

and that's the page, bestie!! πŸ“ sign-off time: this cutie lives in ./net/ethtool, the version/date stamp says October 2026, and the title at the bottom is the same ethtool_forc...ed_maps_init(9) we started with πŸ’œ slay, bye! 🫢πŸ”₯

πŸ“¦ where this page comes from