free_tx_ring(9)
π free_tx_ring(9) β from the Kernel API Manual β¨
okay so bestie, welcome to free_tx_ring π β yes, that's a section 9 kernel API page, and yes, we're gonna get through it together. Buckle up π¦
πΈ NAME πΈ
free_tx_ring β free the TX descriptor ring π«
β SYNOPSIS β
void free_tx_ring (struct device *dev , struct sxgbe_tx_queue *tx_ring ,
int tx_rsize );
that's the whole signature, no cap β copy it exactly like that π«Ά
π ARGUMENTS π
devβ the net device structure π₯οΈ like, the actual network device we're talking about heretx_ringβ the ring that's gonna be initialised π (yes, the page literally says "initialised" for the ring you pass in β I'm just relaying the vibes)tx_rsizeβ the ring size π that's it, that's the size
β¨ DESCRIPTION β¨
so what does it actually do? per the page: this function initializes the DMA TX descriptor π₯ that's the whole description, queen. no extra lore, no hidden paragraphs, nothing. it does the thing with the DMA TX descriptor and that's the tea β
π¦ SEE ALSO π¦
first up, the kernel file this lives near, literally:
Kernel file ./drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c
and now the full friend group π β every single one of these, exactly as written:
sxgbe_verify_args(9)sxgbe_eee_ctrl_timer(9)sxgbe_eee_init(9)sxgbe_clk_csr_set(9)sxgbe_adjust_link(9)sxgbe_init_phy(9)sxgbe_clear_descriptors(9)sxgbe_free_rx_buffers(9)init_tx_ring(9)free_rx_ring(9)init_rx_ring(9)init_dma_desc_rings(9)sxgbe_mtl_operation_mode(9)sxgbe_tx_queue_clean(9)sxgbe_tx_all_clean(9)sxgbe_restart_tx_queue(9)sxgbe_reset_all_tx_queues(9)sxgbe_get_hw_features(9)sxgbe_check_ether_addr(9)sxgbe_init_dma_engine(9)sxgbe_init_mtl_engine(9)sxgbe_disable_mtl_engine(9)sxgbe_tx_timer(9)sxgbe_tx_init_coalesce(9)sxgbe_open(9)sxgbe_release(9)sxgbe_xmit(9)sxgbe_rx_refill(9)sxgbe_rx(9)sxgbe_poll(9)sxgbe_tx_timeout(9)sxgbe_common_interrupt(9)sxgbe_tx_interrupt(9)sxgbe_rx_interrupt(9)sxgbe_set_rx_mode(9)sxgbe_poll_controller(9)sxgbe_hw_init(9)sxgbe_drv_probe(9)sxgbe_drv_remove(9)
like, the entire Samsung sxgbe cinematic universe π iykyk π
and that's the page!! sending you off with the little footer deets so you know where it came from π§ source path ./drivers/net/ethernet/samsung..., dated October 2026, and it's free_tx_ring(9) in the Kernel API Manual β slay, 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