STRUCT OCELOT_FDMA_RX_BUF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct ocelot_fdma_rx_buf(9) πŸ’–

okay bestie, welcome to the Kernel API Manual ✨ this page is literally all about struct ocelot_fdma_rx_buf, and it’s giving β€œRX buffer structure” main character energy. no cap, we’re keeping every member and every path exactly as-is 🫢


✨ NAME ✨

struct ocelot_fdma_rx_buf - RX buffer structure πŸ’…

🌸 SYNOPSIS 🌸

struct ocelot_fdma_rx_buf {
    struct page *page;
    u32 page_offset;
    dma_addr_t dma_addr;
 };

πŸŽ€ Members πŸŽ€

  • page β€” the struct page used in this buffer, literally the page doing the buffer thing πŸ’–
  • page_offset β€” current page offset, and it’s either 0 or PAGE_SIZE/2 (those are the only two options, bestie) ✨
  • dma_addr β€” DMA address of the page πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯

go peek at the Kernel file ./drivers/net/ethernet/mscc/ocelot_fdma.h and these iconic structs:

  • struct ocelot_fdma_tx_buf(9)
  • struct ocelot_fdma_tx_ring(9)
  • struct ocelot_fdma_rx_ring(9)
  • struct ocelot_fdma(9)

and that’s the whole vibe πŸ’… source/version is ./drivers/net/ethernet/mscc, dated October 2026. periodt. πŸŽ€

πŸ“¦ where this page comes from