user_sdma_txreq_cb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

user_sdma_txreq_cb(9) β€” SDMA tx request completion callback. This one lives in the Kernel API Manual, bestie. πŸ’–

🌸 SYNOPSIS 🌸

void user_sdma_txreq_cb (struct sdma_txreq *txreq , int status );

🫢 ARGUMENTS 🫢

  • txreq β€” valid sdma tx request. That's the request this callback is about, no cap. ✨
  • status β€” success/failure of request. Basically the vibe check for whether it worked. πŸ’…

πŸ’… DESCRIPTION πŸ’…

Okay so picture this: the SDMA progress state machine gets notification that the SDMA descriptors for this tx request have been processed by the DMA engine β€” and that's when this callback gets called. πŸ”₯

It's called in interrupt context, so like, be normal about it. 😭 And the key thing: only do work on completed sequences. Periodt. πŸ‘‘

πŸ” SEE ALSO πŸ”

  • Kernel file ./drivers/infiniband/hw/hfi1/user_sdma.c β€” go read it, iykyk. πŸ“–
  • hfi1_user_sdma_process_request(9) β€” the related manual page, bestie. πŸ¦‹

This page is from ./drivers/infiniband/hw/hfi1, dated October 2026, and it's literally user_sdma_txreq_cb(9) β€” slay and goodbye. πŸ’‹πŸŽ€

πŸ“¦ where this page comes from