axienet_dma_bd_release(9)
π axienet_dma_bd_release β¨
okay so this is a page from the Kernel API Manual and it's about one very specific little cleanup function, and honestly? she's doing important work. let's get into it π«Ά
πΈ NAME πΈ
axienet_dma_bd_release β bestie, this is the one that releases the buffer descriptor rings. that's it, that's the whole job, and she does it flawlessly π
π¦ SYNOPSIS π¦
void axienet_dma_bd_release (struct net_device *ndev );
π ARGUMENTS π
ndevβ a pointer to thenet_devicestructure. yeah. that's the one. she needs it to know which net device we're cleaning up after, no cap π
β¨ DESCRIPTION β¨
so here's the tea β β this function is used to release the descriptors that were allocated in axienet_dma_bd_init. like, axienet_dma_bd_init sets the whole thing up, and axienet_dma_bd_release is the friend who helps you pack up the party afterwards π§Ήπ
and when does she get called? axienet_dma_bd_release is called when the Axi Ethernet driver stop api is called. so it's giving cleanup-on-shutdown energy β very responsible, very main character, we love to see it π
π SEE ALSO π
and now, the friend group π β the kernel file lives at ./drivers/net/ethernet/xilinx/xilinx_axienet_main.c, and here is literally everyone she hangs out with:
axienet_dma_in32(9)axienet_calc_cr(9)axienet_coalesce_params(9)axienet_dma_start(9)axienet_dma_bd_init(9)axienet_set_mac_address(9)netdev_set_mac_address(9)axienet_set_multicast_list(9)axienet_setoptions(9)axienet_dma_stop(9)axienet_device_reset(9)axienet_free_tx_chain(9)axienet_check_tx_bd_space(9)axienet_dma_tx_cb(9)axienet_start_xmit_dmaengine(9)axienet_tx_poll(9)axienet_start_xmit(9)axienet_dma_rx_cb(9)axienet_rx_poll(9)axienet_tx_irq(9)axienet_rx_irq(9)axienet_eth_irq(9)axienet_rx_submit_desc(9)axienet_init_dmaengine(9)axienet_init_legacy_dma(9)axienet_open(9)axienet_stop(9)axienet_change_mtu(9)axienet_poll_controller(9)axienet_ethtools_get_drvinfo(9)axienet_ethtools_get_regs_len(9)axienet_ethtools_get_regs(9)axienet_ethtools_get_pauseparam(9)axienet_ethtools_set_pauseparam(9)axienet_update_coalesce_rx(9)axienet_dim_coalesce_count_rx(9)axienet_rx_dim_work(9)axienet_update_coalesce_tx(9)axienet_ethtools_get_coalesce(9)axienet_ethtools_set_coalesce(9)axienet_dma_err_handler(9)axienet_probe(9)
like, that's the whole group chat right there ππ she knows everybody.
okay that's the page!! this came out of the source tree at ./drivers/net/ethernet/xilinx and it's dated October 2026 β so go forth, release those rings, and slay the cleanup era πβπ
π¦ 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