STRUCT EFX_RSS_CONTEXT_PRIV(9)
๐ 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 theRSS_CONTEXT_IDthat MC firmware handed back to us ๐. But plot twist: if this context isn't actually present on the NIC, it'sEFX_MCDI_RSS_CONTEXT_INVALIDinstead. it's giving "placeholder value energy" ๐rx_hash_udp_4tupleโ abool, 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
- nixpkgs unstable: linux-manual 7.3.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms