sdma_txadd_daddr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, this is sdma_txadd_daddr β€” from the Kernel API Manual, no less β€” and it does exactly one iconic thing: it adds a dma address to the sdma_txreq. that's the whole vibe. πŸ’–


✨ SYNOPSIS ✨

int sdma_txadd_daddr (struct hfi1_devdata *dd , struct sdma_txreq *tx ,
dma_addr_t addr , u16 len );

πŸŽ€ ARGUMENTS πŸŽ€

  • dd β€” the device to use for mapping. πŸ‘‘
  • tx β€” the sdma_txreq to which the page is added. πŸ¦‹
  • addr β€” the dma address mapped by caller. literally right there. πŸ’…
  • len β€” length in bytes. πŸ“

🌸 DESCRIPTION 🌸

This is used to add a descriptor for memory that is already dma mapped. no cap, that's the move. ✨

In this case, there is no unmapping as part of the progress processing for this memory location. so don't go looking for an unmap arc, because this memory location is not giving that. 🫢


⭐ RETURN ⭐

  • 0 β€” success. slay. πŸ’–
  • -ENOMEM β€” couldn't extend descriptor array. 😭 that's the whole mood.

πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file is ./drivers/infiniband/hw/hfi1/sdma.h. also go peek at these:


mwah πŸ’‹ this little page lives in ./drivers/infiniband/hw/hfi1, dated October 2026 β€” periodt. 🌈

πŸ“¦ where this page comes from