ethtool_rxfh...s_can_resize(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 here
  • new_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 πŸ”₯

  • 0 if all contexts can be resized β€” slay, we're so back πŸ’…
  • negative errno on failure β€” something said no, and honestly? rude 😭

πŸ‘‘ SEE ALSO πŸ‘‘

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