STRUCT EFX_SPECIAL_BUFFER(9)
β¨ NAME β¨
struct efx_special_buffer β the DMA buffer entered into the buffer table, bestie π
Welcome to the struct efx_special_buffer(9) page in the Kernel API Manual. Pull up a chair, this one's lowkey iconic.
π§ SYNOPSIS π§
It's giving very demure, very mindful struct definition:
struct efx_special_buffer {
struct efx_buffer buf;
unsigned int index;
unsigned int entries;
};
π Members π
bufβ Standardstruct efx_buffer. The classic, the blueprint, no notes. π«Άindexβ Buffer index within the controller's buffer table. Homegirl's address, basically.entriesβ Number of buffer table entries. Counting era π
π Description π
okay so picture this: the NIC has a buffer table that maps buffers of size EFX_BUF_SIZE. That's the whole vibe. β¨
Event and descriptor rings are addressed via one or more buffer table entries, and because of that they can be physically non-contiguous β although we currently do not take advantage of that, bestie. The potential is there, we're just not using it. Not me ignoring a feature π
On Falcon and Siena, we have to take care of allocating and initialising the entries ourselves. Main character chores, honestly. On later hardware, this is managed by the firmware and index and entries are left as 0. Periodt. π
π SEE ALSO π
The whole squad, no cap. Go peep the Kernel file ./drivers/net/ethernet/sfc/siena/net_driver.h and also:
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_nic_type(9)
mwah π this lil page lives in the Kernel API Manual as struct efx_special_buffer(9), sourced from ./drivers/net/ethernet/sfc/siena, and dated October 2026. stan. ππ¦
π¦ 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