libie_ctlq_xn_deinit_dma(9)
π libie_ctlq_xn_deinit_dma β from the Kernel API Manual β¨
Okay so bestie, picture this: you're deep in the Intel libie control-queue code, you've allocated a whole stack of DMA memory for your send messages, and now you need to give it back. That's this function. It's the cleanup bestie. The one who shows up after the party with a trash bag. π
No cap, it's a void β it doesn't hand you back a status code, it just does the thing and dips. π
β¨ SYNOPSIS β¨
void libie_ctlq_xn_deinit_dma (struct libie_ctlq_xn_manager *xnm , u32 num_entries );
Two arguments, zero drama. Let's meet them π«Ά
πΈ ARGUMENTS πΈ
xnmβ pointer to the transaction manager. Like, the manager. The main character. You're telling it which manager owns the DMA memory that's about to get freed. πnum_entriesβ number of Xn entries to free the DMA for, typed asu32. So you're saying "hey, free the DMA for this many entries." Count them carefully, bestie, seriously. π
Heads up β this is the free-er, not the allocator. If you're looking for the matching "give me the memory" side of this relationship, that's libie_ctlq_xn_init_dma(9), and it's sitting right down there in SEE ALSO. They're a set. Don't separate them. π
π¦ SEE ALSO π¦
The whole friend group, fr fr β every single one of these icons:
Kernel file ./drivers/net/ethernet/intel/libie/controlq.clibie_ctlq_free_fq(9)libie_ctlq_init_fq(9)libie_ctlq_prep_rx_desc(9)libie_ctlq_post_rx_buffs(9)libie_ctlq_free_tx_msgs(9)libie_ctlq_alloc_tx_msgs(9)libie_cp_free_desc_mem(9)libie_ctlq_dealloc_ring_res(9)libie_cp_alloc_desc_mem(9)libie_ctlq_alloc_queue_res(9)libie_ctlq_init_regs(9)libie_find_ctlq(9)libie_ctlq_add(9)libie_ctlq_remove(9)libie_ctlq_init(9)libie_ctlq_deinit(9)libie_ctlq_tx_desc_from_msg(9)libie_ctlq_send_desc_avail(9)libie_ctlq_send(9)libie_ctlq_send_clean(9)libie_ctlq_fill_rx_msg(9)libie_ctlq_recv(9)libie_ctlq_xn_pop_free(9)__libie_ctlq_xn_push_free(9)libie_ctlq_xn_push_free(9)libie_ctlq_xn_init_dma(9)libie_ctlq_xn_process_recv(9)libie_xn_check_async_timeout(9)libie_ctlq_xn_recv(9)libie_cp_map_dma_mem(9)libie_cp_unmap_dma_mem(9)libie_ctlq_xn_process_send(9)libie_ctlq_xn_send(9)struct libie_ctlq_xn_rel_tx_ctx(9)libie_ctlq_xn_rel_tx_buf(9)libie_ctlq_xn_send_clean(9)libie_ctlq_xn_shutdown(9)libie_ctlq_xn_deinit(9)libie_ctlq_xn_init(9)
That's the whole page, bestie β go free that DMA responsibly and stan clean teardown paths. π
Signed off with love from ./drivers/net/ethernet/intel/l..., dated October 2026, living under the Kernel API Manual banner. Mwah. π
π¦ 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