ice_is_hash_cfg_valid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_is_hash_cfg_valid β€” the vibe check for your RSS hash config ✨

Okay bestie, welcome to the Kernel API Manual β€” specifically the ice_is_hash_cfg_valid(9) page, aka the tiny little gatekeeper that decides whether your RSS hash context is actually valid or just... not. 🫢


🌸 NAME 🌸

ice_is_hash_cfg_valid β€” check whether an RSS hash context is valid πŸ’…

Like literally, that's its whole job. It looks at your config and goes "valid" or "not valid." No drama, no notes.


✨ SYNOPSIS ✨

bool ice_is_hash_cfg_valid (struct ice_rss_hash_cfg *cfg );

Short, sweet, takes one pointer. Obsessed. πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cfg β€” the RSS hash configuration you want to test, bestie. It's a struct ice_rss_hash_cfg *, so yes, you're passing a pointer. Respect the pointer. πŸ™ˆ

⭐ RETURN ⭐

It returns true when both cfg->hash_flds and cfg->addl_hdrs are non-zero. If either one is zero? It returns false. That's it. That's the whole test. No cap. πŸ”₯

Fr fr, note the "both" β€” it's an AND situation, not an OR situation. One of them being non-zero is not enough to slay here. πŸ’€

🌈 SEE ALSO 🌈

First up, the kernel file where all this lives, in all its glory:

./drivers/net/ethernet/intel/ice/virt/rss.c

And then the whole friend group, because this function does not exist in isolation, bestie:

Like, that's a whole squad. Go read about them too. πŸ‘‘


That's the page, bestie β€” go forth and validate those hash configs. πŸ§šπŸ’œ

Sign-off era: this one's from ./drivers/net/ethernet/intel/i..., dated October 2026, and it's the ice_is_hash_cfg_valid(9) page. Mwah. πŸ’‹πŸ“

πŸ“¦ where this page comes from