ethtool_rxfh_ctxs_resize(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 a u32. 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 ✨


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