STRUCT CDMAC_BD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the struct cdmac_bd(9) page from the Kernel API Manual ✨ this one is all about the LocalLink buffer descriptor format, and it's giving tiny-but-important kernel struct energy πŸ’…

πŸ’– NAME πŸ’–

struct cdmac_bd β€” LocalLink buffer descriptor format πŸ¦‹

✨ SYNOPSIS ✨

       struct cdmac_bd {
           u32 next;
           u32 phys;
           u32 len;
           u32 app0;
           u32 app1;
           u32 app2;
           u32 app3;
           u32 app4;
        };

πŸŽ€ Members πŸŽ€

The members are exactly the fields in the struct above β€” next, phys, len, and the whole app0 through app4 squad. No cap. πŸ’–

πŸ’… Description πŸ’…

Okay so the app0 bits are the main character here, and here's the full breakdown, bestie:

  • 0 β€” Error
  • 1 β€” IrqOnEnd β€” generate an interrupt at completion of DMA op
  • 2 β€” reserved
  • 3 β€” completed β€” Current descriptor completed
  • 4 β€” SOP β€” TX - marks first desc/ RX marks first desct
  • 5 β€” EOP β€” TX marks last desc/RX marks last desc
  • 6 β€” EngBusy β€” DMA is processing
  • 7 β€” reserved
  • 8:31 β€” application specific
that desct in bit 4 is literally what the page says, so we're keeping it exactly like that πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Wanna go deeper? Peek at the kernel file ./drivers/net/ethernet/xilinx/ll_temac.h πŸ‘€


mwah πŸ’‹ this page is from the ./drivers/net/ethernet/xilinx source/version, dated October 2026, and it's all about struct cdmac_bd(9) β€” byeee 🫢

πŸ“¦ where this page comes from