STRUCT OCELOT_FDMA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 to ocelot struct πŸ‘€

🌈 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