__sdma_txclean(9)
β¨ __sdma_txclean β¨
okay so bestie, we're in the kernel API manual today, section 9 of the fine manual pages, and this one is called __sdma_txclean β it cleans tx of mappings, descp *kmalloc's. yes that asterisk is in the original name line, we don't ask questions, we just slay π
πΈ SYNOPSIS πΈ
void __sdma_txclean (struct hfi1_devdata *dd , struct sdma_txreq *tx );
literally a void function with two args, no return value, she just does her thing and leaves β¨
π ARGUMENTS π
ddβ thehfi1_devdatafor unmapping. this is the handle she needs so she knows what to unmap πtxβ the tx request to clean. this is the little guy getting tidied up π§
π DESCRIPTION π
so the way this works: this is used in the progress routine to clean the tx, or by the ULP to toss an in-process tx build. both of those vibes, one function, iconic π«Ά
and the bestie-est part? the code can be called multiple times without issue. no cap. call her once, call her five times, she does not care, she is unbothered π
fr fr though, that re-entrancy-ish "call it as many times as you want" note is the whole personality of this one β don't skip it π
π¦ SEE ALSO π¦
she lives in the kernel file ./drivers/infiniband/hw/hfi1/sdma.c, and here's the whole friend group:
sdma_state_name(9)sdma_get_descq_cnt(9)sdma_engine_get_vl(9)sdma_select_engine_vl(9)sdma_select_engine_sc(9)sdma_seqfile_dump_cpu_list(9)sdma_map_init(9)sdma_clean(9)sdma_init(9)sdma_all_running(9)sdma_start(9)sdma_exit(9)sdma_engine_error(9)sdma_seqfile_dump_sde(9)sdma_send_txreq(9)sdma_send_txlist(9)sdma_ahg_alloc(9)sdma_ahg_free(9)_sdma_engine_progress_schedule(9)
like, the entire sdma cast showed up to the group chat π obsessed honestly π
β the sign-off β
okay that's the whole page, mwah π this one ships out of ./drivers/infiniband/hw/hfi1 and the date on the tin is October 2026 β go clean your tx, bestie, and remember: multiple calls, no issue, periodt ππΈβ¨
π¦ 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