ethtool_forc...ed_maps_init(9)
π 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):
ethtool_rxfh_indir_lost(9)ethtool_rxfh_indir_can_resize(9)ethtool_rxfh_indir_resize(9)ethtool_rxfh_ctxs_can_resize(9)ethtool_rxfh_ctxs_resize(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms