ethtool_rxfh_ctxs_resize(9)
πΈ ethtool_rxfh_ctxs_resize(9) πΈ
okay so this is a page from the Kernel API Manual, bestie β it's ethtool_rxfh_ctxs_resize(9) and it's giving "quiet little function with a big job" energy ngl π
β¨ NAME β¨
ethtool_rxfh_ctxs_resize β resizes, like, all the RSS context indirection tables at once. every single one. no cap π«Ά
β¨ SYNOPSIS β¨
void ethtool_rxfh_ctxs_resize (struct net_device *dev , u32
new_indir_size );
two args, one void, zero drama. she doesn't return anything, she just does π
β¨ ARGUMENTS β¨
devβ the network device π§ literally the thing you're doing this to.new_indir_sizeβ the new indirection table size, as au32. this is the size everything is getting resized to, so pick it wisely bestie π
β¨ DESCRIPTION β¨
so here's the vibe: this function resizes the indirection table of every non-default RSS context over to new_indir_size. all of them. together. iconic group activity π
β οΈ important!! the caller must have validated with ethtool_rxfh_ctxs_can_resize first. like, first first. this function is not doing the vibe check for you β that's your job. don't skip it π
for each context that gets resized, an ETHTOOL_MSG_RSS_NTF is sent out. one notification per resized context, fr fr π£
and here's the lowkey smart part: those notifications are sent outside the RSS lock, specifically so nobody's stuck holding the mutex while notification delivery is happening. the way that's just good hygiene β¨π
β¨ 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_can_resize(9)
and that's the whole page, bestie π¦ this lil baddie lives in ./net/ethtool, dropped way back in October 2026, and it's part of the Kernel API Manual. go forth and 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