STRUCT EFX_BUFFER(9)
π NAME π
struct efx_buffer β a general-purpose DMA buffer, bestie β¨ (yes, it's a manual page, section 9, Kernel API Manual energy, we're doing this)
β¨ SYNOPSIS β¨
struct efx_buffer {
void *addr;
dma_addr_t dma_addr;
unsigned int len;
};
That's the whole vibe. Three fields. Iconic. π
π MEMBERS π
addrβ the host base address of the buffer. like, where you (the CPU) can find it π«Άdma_addrβ the DMA base address of the buffer. the address the device sees, no cap π«lenβ buffer length, in bytes. how much buffer you're buffering π
πΈ DESCRIPTION πΈ
okay so the NIC uses these buffers for its interrupt status registers and MAC stats dumps. that's the whole job. it's giving "small but crucial supporting character" and honestly? we stan ππ
π¦ SEE ALSO π¦
Kernel file ./drivers/net/ethernet/sfc/siena/net_driver.h and its whole friend group:
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_rss_context(9)struct efx_arfs_rule(9)struct efx_async_filter_insertion(9)struct efx_nic(9)struct efx_nic_type(9)
like an entire squad, all cross-referenced, all slaying in their own lane ππ
π§ quick reminder: this page lives in ./drivers/net/ethernet/sfc/siena and it's dated October 2026 β so yeah, future-coded but make it kernel πβ¨
that's the whole thing, bestie β go forth and buffer responsibly ππ
π¦ 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