axienet_check_tx_bd_space(9)
β¨ axienet_check_tx_bd_space(9) β¨
okay so bestie, welcome to the axienet_check_tx_bd_space page of the Kernel API Manual β yes that's the whole name, no I will not be shortening it, it's iconic π
π NAME π
axienet_check_tx_bd_space β the little vibe check that tells you whether a BD (or a whole group of BDs) is currently busy π«Ά
πΈ SYNOPSIS πΈ
int axienet_check_tx_bd_space (struct axienet_local *lp , int num_frag );
like, that's the whole signature, periodt β¨
π¦ ARGUMENTS π¦
lpβ a pointer to theaxienet_localstructure, aka the main character of this whole file π§num_fragβ the number of BDs you want to check for. yes, plural, you can ask about a whole little squad of them π
β RETURN β
0β on success, slay πNETDEV_TX_BUSYβ if any of the descriptors are not free π not a single one of them can be busy, fr fr
π₯ DESCRIPTION π₯
This function is invoked before BDs are allocated and transmission starts. no cap, it's literally the pre-flight check π₯
So here's the tea: it returns 0 if a BD or a group of BDs can be allocated for transmission. if the BD β or any single one of the BDs in that group, like even one β is not free, the function hits you with a busy status. it's giving strict group project energy: everyone has to be available or nobody's going anywhere π
π SEE ALSO π
and now for the whole friend group π«Ά the kernel file lives at ./drivers/net/ethernet/xilinx/xilinx_axienet_main.c, and here's everyone else:
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_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)
π okay that's the whole page, you ate that π
this lil masterpiece comes to you from ./drivers/net/ethernet/xilinx, dated October 2026 β mwah, bye bestie! πππ
π¦ 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