STRUCT ETHTOOL_RXFH_CONTEXT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ethtool_rxfh_context(9) ✨

okay so bestie, this is a page straight out of the Kernel API Manual, section 9, and it's all about struct ethtool_rxfh_context β€” literally the little config blob that holds a custom RSS context configuration. if you've ever wanted to tell your NIC "no babe, I pick the indirection table", this is the struct you'd be gossiping with πŸ’…


πŸŽ€ NAME πŸŽ€

struct ethtool_rxfh_context β€” a custom RSS context configuration πŸ¦‹


🌸 SYNOPSIS 🌸

here's the whole glow-up, verbatim, no edits, she's perfect:

struct ethtool_rxfh_context {
    u32 indir_size;
    u32 key_size;
    u32 indir_user_size;
    u16 priv_size;
    u8 hfunc;
    u8 input_xfrm;
    u8 indir_configured:1;
    u8 key_configured:1;
 };

πŸ’– MEMBERS πŸ’–

okay let's meet the cast, one by one, no skipping, they all matter:

  • indir_size β€” the number of u32 entries in the indirection table. that's it, that's the count πŸ”’
  • key_size β€” size of the hash key, in bytes. measured in bytes, not vibes πŸ—οΈ
  • indir_user_size β€” the number of user-provided entries for the indirection table. lowkey important, that "user provided" part is doing work πŸ‘€
  • priv_size β€” size of the driver private data, in bytes. driver's own little stash πŸŽ’
  • hfunc β€” the RSS hash function identifier. it's one of the ETH_RSS_HASH_* values, periodt 🌈
  • input_xfrm β€” defines how the input data is transformed. valid values are one of RXH_XFRM_* πŸ”„
  • indir_configured β€” indir has been specified (at create time or subsequently). note she's a u8 indir_configured:1; bitfield bestie, one whole bit of truth 🫢
  • key_configured β€” hkey has been specified (at create time or subsequently). also a u8 key_configured:1; bitfield, also one bit, also not playing games βœ…
ngl, those last two are giving "did you actually fill this in or are we lying to ourselves" energy β€” they only track whether it was specified, at create time or subsequently. that's the whole claim, don't read more into it πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

the friend group is large, so buckle up. first, the source file herself: Kernel file ./include/linux/ethtool.h. then:

like I said. huge friend group. all of them ate tho πŸ‘‘


and that's the whole page, bestie β€” no crumbs left behind πŸ“ this cutie lives in ./include/linux, and this particular edition is dated October 2026, filed under struct ethtool_rxfh_context(9). go forth and configure your RSS context with main character energy πŸ’œβœ¨

πŸ“¦ where this page comes from