sdma_start(9)
π« sdma_start(9) β the "go go go" button for your SDMA engines π«
Okay so bestie, welcome to the sdma_start page from the Kernel API Manual. This one is short and sweet, but it's iconic in its own way. Let's get into it π
β¨ NAME β¨
sdma_start β called to kick off state processing for all engines
Like, it's literally the function that says "bestie, wake up, we're doing states now" to every engine. No cap. π
πΈ SYNOPSIS πΈ
void sdma_start (struct hfi1_devdata *dd );
Notice the return type: void. It gives nothing back because it's too busy giving everything to the engines. Main character energy fr fr. π
π¦ ARGUMENTS π¦
ddβ hfi1_devdata
That's it. One argument. It's giving minimalism. It's giving "I only need one thing and that thing is the hfi1_devdata". π«Ά
π₯ DESCRIPTION π₯
So this routine is for kicking off the state processing for all required sdma engines. All of them. Not some. Not a vibe check on a few. All required ones, periodt. β¨
β οΈ Important caveat, bestie, listen up: interrupts need to be working at this point. Like, actually working. This is not a drill. If your interrupts aren't functioning yet, you're not ready for this function, and it's giving "showing up to the group chat with no context". Have your interrupts sorted first, okay? π
π SEE ALSO π
The kernel file is ./drivers/infiniband/hw/hfi1/sdma.c β that's where the magic lives, and honestly the whole friend group is in there. Say hi to:
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_exit(9)__sdma_txclean(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 whole sdma extended universe π β go read them, they all ate. π₯
And that's the page, bestie! π This one comes to you from ./drivers/infiniband/hw/hfi1, dated October 2026, under the Kernel API Manual. Love that for us. Go kick off those engines. πβ¨πΈ
π¦ 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