axienet_dma_bd_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… axienet_dma_bd_init (9) β€” Kernel API Manual, bestie edition πŸŽ€

Okay so this is a page from the Kernel API Manual, and today's main character is axienet_dma_bd_init. Buckle up buttercup, it's giving "DMA rings" and honestly? Iconic.


✨ NAME ✨

axienet_dma_bd_init β€” Setup buffer descriptor rings for Axi DMA 🌸

✨ SYNOPSIS ✨

int axienet_dma_bd_init (struct net_device *ndev );

✨ ARGUMENTS ✨

  • ndev β€” Pointer to the net_device structure 🫢 (yes, just the one argument, she's lowkey simple like that)

✨ RETURN ✨

  • 0, on success πŸŽ‰
  • -ENOMEM, on failure 😭
No cap, those are literally the only two outcomes. Either you slayed or you ran out of memory, there is no in-between.

✨ DESCRIPTION ✨

So this function gets called to initialize the Rx and Tx DMA descriptor rings. πŸ¦‹ It initializes the descriptors with the required default values β€” cozy little baseline vibes β€” and it gets called when the Axi Ethernet driver reset is called. Like, reset happens, this function shows up to set the table again. Periodt. πŸ’…

✨ SEE ALSO ✨

Bestie, the friend group is huge, so let's go:

Go read all of them, I'll wait. πŸ’–


Okay that's the whole page, mwah πŸ’‹

Sign-off time: this lil masterpiece lives in ./drivers/net/ethernet/xilinx, dated October 2026, and it's filed under axienet_dma_bd_init(9) in the Kernel API Manual. Slay, go init some rings. πŸ¦‹βœ¨πŸ‘‘

πŸ“¦ where this page comes from