STRUCT EFX_MSI_CONTEXT(9)
π struct efx_msi_context(9) β like, the Kernel API Manual page bestie π
okay so welcome to the glow-up of the struct efx_msi_context(9) man page, fresh from the Kernel API Manual β¨ we're gonna go through it together, no skipping, i promise π«Ά
β¨ NAME β¨
struct efx_msi_context β the context for each MSI, and yes that's the whole vibe π«
πΈ SYNOPSIS πΈ
struct efx_msi_context {
struct efx_nic *efx;
unsigned int index;
char name[IFNAMSIZ + 6];
};
like, look at her. three members. iconic. π
π¦ Members π¦
efxβ the NIC that goes with it, literally its whole ride-or-die πindexβ which channel/IRQ this is, the little number that says "this one's me" π’nameβ the name of the channel/IRQ, so it can be addressed by name like the main character it is π
π Description π
so here's the tea: unlike struct efx_channel, this thing is never reallocated and it is always safe for the IRQ handler to access. that's it. that's the whole point. it stays put, periodt π
β¨
no cap, that stability is the entire serve.
π₯ SEE ALSO π₯
the kernel file is ./drivers/net/ethernet/sfc/siena/net_driver.h β go read her π§
and then the whole friend group:
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_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_nic_type(9)
ngl bestie if you made it this far you're officially a struct stan π
okay byeeee, this was ./drivers/net/ethernet/sfc/siena, dated October 2026 β mwah, slay, go read some kernel headers π
ππ
π¦ 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