STRUCT OCELOT_FDMA(9)
okay bestie, welcome to the Kernel API Manual page for struct ocelot_fdma(9) β it's the FDMA context struct, and we're going through every single member together, no skipping π
β¨
π NAME π
struct ocelot_fdma β FDMA context π¦
β¨ SYNOPSIS β¨
here's the whole lil struct at a glance, keep it exactly like this π
struct ocelot_fdma {
int irq;
struct net_device *ndev;
struct ocelot_fdma_dcb *dcbs_base;
dma_addr_t dcbs_dma_base;
struct ocelot_fdma_tx_ring tx_ring;
struct ocelot_fdma_rx_ring rx_ring;
struct napi_struct napi;
struct ocelot *ocelot;
};
π«Ά Members π«Ά
okay so every field, one by one, with the exact meaning β periodt πΈ
irqβ FDMA interrupt β‘ndevβ Net device used to initialize NAPI π‘dcbs_baseβ Memory coherent DCBs π§dcbs_dma_baseβ DMA base address of memory coherent DCBs πtx_ringβ Injection ring πrx_ringβ Extraction ring π§²napiβ NAPI context πocelotβ Back-pointer toocelotstruct π
π SEE ALSO π
Kernel file ./drivers/net/ethernet/mscc/ocelot_fdma.h; then struct ocelot_fdma_tx_buf(9), struct ocelot_fdma_tx_ring(9), struct ocelot_fdma_rx_buf(9), and struct ocelot_fdma_rx_ring(9) β go read those too bestie, iykyk π«Ά
mwah π this page lives at ./drivers/net/ethernet/mscc, dated October 2026, and it's literally the struct ocelot_fdma(9) manual. slay, bye π
β¨
π¦ 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