ethtool_rxfh_indir_resize(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to
  • tbl β€” the indirection table itself ✨ and listen, the table must have room for max(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 era
  • new_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 πŸ‘‘

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