axienet_dma_tx_cb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… axienet_dma_tx_cb β€” DMA engine callback for TX channel ✨

okay so bestie, this one's from the Kernel API Manual and it's honestly iconic β€” it's the lil' callback that fires when your TX is done. no cap, let's get into it 🫢


🌸 NAME 🌸

axienet_dma_tx_cb β€” DMA engine callback for TX channel. literally that's the whole vibe πŸ’–


✨ SYNOPSIS ✨

void axienet_dma_tx_cb (void *data , const struct dmaengine_result *result );

that's it, that's the whole signature, she's serving concise πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • data β€” Pointer to the axienet_local structure. yep, the main character struct, she's carrying everything πŸ’…
  • result β€” error reporting through dmaengine_result. This function is called by dmaengine driver for TX channel to notify that the transmit is done. so like, when your packet has officially left the building, the dmaengine driver hits this up to be like "bestie it's done" πŸ“¬βœ¨
πŸ¦‹ lowkey important: data points at the axienet_local structure and result is how the error info gets reported through dmaengine_result β€” that's the notif system, iykyk.

🌈 SEE ALSO 🌈

the whole friend group, fr fr β€” here's the kernel file and every single reference, no gatekeeping πŸ™ˆ

Kernel file: ./drivers/net/ethernet/xilinx/xilinx_axienet_main.c

axienet_dma_in32(9), axienet_dma_bd_release(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_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, go read those too if you wanna be a completionist πŸ§šπŸ’œ


okay that's the page!! this lil' cutie lives at ./drivers/net/ethernet/xilinx and she was dated October 2026 β€” stay slay, stay DMA-aware, and remember: the transmit is done when the callback says it's done πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from