ethtool_rxfh...s_can_resize(9)
π ethtool_rxfh_ctxs_can_resize β a Kernel API Manual moment
okay so bestie, welcome to the ethtool_rxfh...s_can_resize(9) page, from the Kernel API Manual β¨ this one's short and sweet and honestly kind of a vibe.
πΈ NAME πΈ
ethtool_rxfh_ctxs_can_resize β the little function that does a vibe check on resizing, like, all the RSS contexts at once π
β¨ SYNOPSIS β¨
int ethtool_rxfh_ctxs_can_resize (struct net_device *dev , u32
new_indir_size );
that's it. that's the whole signature. she's compact π
π¦ ARGUMENTS π¦
devβ the network device π» like, the actual NIC we're talking about herenew_indir_sizeβ the new indirection table size, aka the size you're dreaming of upgrading to β¨
π DESCRIPTION π
okay so here's the tea. this function validates that the indirection tables of all non-default RSS contexts can be resized to new_indir_size. all of them. not just the main character one β every single non-default context has to pass the vibe check π
and the best part? she's read-only. she does not modify any context. not one. zero changes. purely a "can we tho?" situation, no cap π
she's intended to be paired with ethtool_rxfh_ctxs_resize β so like, this one asks the question, and that one actually does the thing. they're a duo, iykyk π«Ά
π₯ RETURN π₯
0if all contexts can be resized β slay, we're so back π- negative errno on failure β something said no, and honestly? rude π
π 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)ethtool_rxfh_indir_resize(9)ethtool_rxfh_ctxs_resize(9)
go read the whole friend group, they're all icons fr fr π
and that's the page!! brought to you by ./net/ethtool, dated October 2026 β mwah, love u, go resize something 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