STRUCT EFX_RSS_CONTEXT_PRIV(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… struct efx_rss_context_priv(9) โ€” the Kernel API Manual moment ๐ŸŽ€


โœจ NAME โœจ

struct efx_rss_context_priv โ€” literally the driver's own private little data stash for an RSS context, bestie ๐Ÿ’–


๐ŸŒธ SYNOPSIS ๐ŸŒธ

struct efx_rss_context_priv {
    u32 context_id;
    bool rx_hash_udp_4tuple;
 };

okay so that's the whole struct, no cap โ€” two members, and yes the closing brace in the original has that one extra space before it, we keep it exactly like that because we respect the source ๐Ÿซถ


๐Ÿฆ‹ MEMBERS ๐Ÿฆ‹

  • context_id โ€” this is the RSS_CONTEXT_ID that MC firmware handed back to us ๐Ÿ‘‘. But plot twist: if this context isn't actually present on the NIC, it's EFX_MCDI_RSS_CONTEXT_INVALID instead. it's giving "placeholder value energy" ๐Ÿ’€
  • rx_hash_udp_4tuple โ€” a bool, and it's exactly what it sounds like: UDP 4-tuple hashing is enabled ๐Ÿ”ฅ. one little flag, carrying the whole vibe check for the UDP hashing situation โœจ

๐Ÿ”ฎ SEE ALSO ๐Ÿ”ฎ

the whole friend group, gathered here for you ๐Ÿงš โ€” Kernel file ./drivers/net/ethernet/sfc/net_driver.h, plus:

  • struct efx_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_rss_context(9)
  • struct efx_arfs_rule(9)
  • struct efx_async_filter_insertion(9)
  • struct efx_nic(9)
  • struct efx_probe_data(9)
  • struct efx_nic_type(9)

like I said. the whole friend group. go say hi ๐Ÿ’œ


lowkey important reminder: that <pink>invalid</pink> sentinel isn't a real context id, it's the "this one's not on the NIC" signal. don't go treating it like a normal id, i'm begging ๐Ÿ™ˆ

and that's the page!! source lives over in ./drivers/net/ethernet/sfc, the version stamp says October 2026, and it's filed under struct efx_rss_context_priv(9) ๐ŸŒˆ โ€” slay, go forth and hash those 4-tuples, mwah ๐Ÿ’…๐Ÿ’–โญ

๐Ÿ“ฆ where this page comes from