ethtool_rxfh_indir_resize(9)
π ethtool_rxfh_indir_resize β the Kernel API Manual era β¨
okay bestie, so this one's from the Kernel API Manual, and it's basically the glow-up arc for your indirection table π let's get into it.
β¨ NAME β¨
ethtool_rxfh_indir_resize β fold or unfold context 0 indirection table π
like, yes, context 0 specifically, she's the main character here, we don't make the rules π
π¦ SYNOPSIS π¦
void ethtool_rxfh_indir_resize(struct net_device *dev, u32 *tbl,
u32 old_size, u32 new_size);
no cap, that's the whole signature, she returns void and she does not elaborate πΈ
πΈ ARGUMENTS πΈ
devβ the network device π«Ά like, the actual NIC-shaped entity we're doing this totblβ the indirection table itself β¨ and listen, the table must have room formax(old_size, new_size)entries β that's a hard requirement, not a vibe, so don't be out here passing a too-small buffer πold_sizeβ how many entries are in the table right now, i.e. its current eranew_sizeβ how many entries you want it to have, i.e. its future era π
π DESCRIPTION π
So here's the tea: this function resizes the default RSS context indirection table in place. No copying, no new table, she just morphs. π§
But β and this is the important part β the caller must have validated with ethtool_rxfh_indir_can_resize first. That's a whole prerequisite, not a suggestion. You do the vibe check before the glow-up, periodt. π
π fr fr, skip the ethtool_rxfh_indir_can_resize check and you're on your own, bestie
π SEE ALSO π
- Kernel file
./net/ethtool/common.cπ ethtool_forced_speed_maps_init(9)ethtool_rxfh_indir_lost(9)ethtool_rxfh_indir_can_resize(9)β the validation one, you literally need this one πethtool_rxfh_ctxs_can_resize(9)ethtool_rxfh_ctxs_resize(9)
all iconic, all in the family π
okay that's the page!! π she lives in ./net/ethtool and this whole thing is dated October 2026 β yes, from the future, slay β π thanks for reading bestie, go resize responsibly π
π¦ 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