STRUCT EFX_RSS_CONTEXT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct efx_rss_context(9)

okay bestie so this is a page from the Kernel API Manual β€” yes, the actual kernel docs, and no, it's not as scary as it sounds. It's all about struct efx_rss_context, which is literally an RSS context for filtering. That's the whole NAME. Short. Iconic. Periodt.


✨ SYNOPSIS ✨

bestie, here's the whole shape of it, copy-paste exact, no cap:

struct efx_rss_context {
    u32 context_id;
    bool rx_hash_udp_4tuple;
    u8 rx_hash_key[40];
    u32 rx_indir_table[128];
 };

look at that. four members. it's giving "small struct, big responsibilities" energy 🫢


πŸŽ€ Members πŸŽ€

  • context_id β€” so this one's a u32, and here's the vibe check: it's 0 if RSS is active, otherwise it's EFX_MCDI_RSS_CONTEXT_INVALID. That's it, that's the whole rule 😌
  • rx_hash_udp_4tuple β€” a bool, and when it's set that means UDP 4-tuple hashing is enabled. slay πŸ’…
  • rx_hash_key β€” this is u8 rx_hash_key[40], and it's the Toeplitz hash key for this RSS context. yes, forty whole bytes of hash key. she's thorough πŸ‘‘
also, real talk: rx_indir_table (that's u32 rx_indir_table[128]) is right there in the struct, but this page does not describe it. not me making stuff up β€” I'm just telling you what's actually written πŸ’€

🌈 SEE ALSO 🌈

okay this list is LONG, so buckle up bestie, every single one of these is going in:

Kernel file ./drivers/net/ethernet/sfc/siena/net_driver.h struct efx_buffer(9), struct efx_special_buffer(9), struct efx_tx_buffer(9), struct efx_tx_queue(9), struct efx_rx_buffer(9), struct efx_rx_page_state(9), struct efx_rx_queue(9), struct efx_channel(9), struct efx_msi_context(9), struct efx_channel_type(9), struct efx_link_state(9), enum efx_phy_mode(9), struct efx_hw_stat_desc(9), struct efx_arfs_rule(9), struct efx_async_filter_insertion(9), struct efx_nic(9), struct efx_nic_type(9)

like I said. a whole friend group 😭 go read them if you want the full lore, iykyk ✨


that's the page, bestie, you ate that πŸ“ this lil writeup lives in ./drivers/net/ethernet/sfc/siena and it's dated October 2026 β€” so yes, it's future-dated, main character energy fr fr. mwah πŸ’–πŸ§š

πŸ“¦ where this page comes from