sdma_running(9)
hey bestie, welcome to sdma_running(9) from the Kernel API Manual β itβs the little vibe-check function for an sdma engine, and honestly itβs giving βare we okay to submit packets or not?β π
β¨
π NAME π
sdma_running β state suitability test. No cap, thatβs the whole name vibe: it checks suitability of the state. π«Ά
β¨ SYNOPSIS β¨
int sdma_running (struct sdma_engine *engine );
πΈ ARGUMENTS πΈ
engineβ the sdma engine. Thatβs the struct youβre checking, bestie. π
π¦ DESCRIPTION π¦
Okay so sdma_running literally probes the internal state to determine if it is suitable for submitting packets. Itβs an internal-state vibe check, periodt. π₯
π RETURN π
1β ok to submit0β not ok to submit
π SEE ALSO π
The whole squad is here, iykyk:
- Kernel file
./drivers/infiniband/hw/hfi1/sdma.h sdma exported routines(9)sdma PSM/verbs API(9)Infrastructure calls(9)struct sdma_engine(9)sdma_empty(9)sdma_txinit_ahg(9)sdma_txinit(9)sdma_txadd_page(9)sdma_txadd_daddr(9)sdma_txadd_kvaddr(9)sdma_progress(9)struct sdma_map_elem(9)sdma_engine_progress_schedule(9)
mwah π β this page lives in ./drivers/infiniband/hw/hfi1, the version/date on deck is October 2026, and the page itself is sdma_running(9). slay. π§π
π¦ 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