svc_rdma_iov_dma_map(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hi bestie πŸ’– welcome to the svc_rdma_iov_dma_map(9) page in the Kernel API Manual. this one is short and sweet: it's the lil function that DMA maps an iovec, and honestly it's giving β€œsmall but important” ✨

🌸 NAME 🌸

svc_rdma_iov_dma_map β€” DMA map an iovec πŸ’«

🧚 SYNOPSIS 🧚

int svc_rdma_iov_dma_map (void *data , const struct kvec *iov );

πŸŽ€ ARGUMENTS πŸŽ€

  • data β€” pointer to arguments. yes bestie, that's the whole description πŸ’…
  • iov β€” kvec to DMA map. slay πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜•: ib_dma_map_page is used here because svc_rdma_dma_unmap handles DMA-unmap and it uses ib_dma_unmap_page exclusively. that's literally the whole reason, no cap. iykyk 🫢

πŸ’€ RETURN πŸ’€

  • 0 if DMA mapping was successful βœ…
  • -EIO if the iovec cannot be DMA mapped 😭

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group is here, bestie 🫢:


mwah πŸ’‹ β€” this lil page comes from source/version ./net/sunrpc/xprtrdma, dated October 2026, and it's the svc_rdma_iov_dma_map(9) manual page. bye bestie, go DMA map something cute πŸŽ€

πŸ“¦ where this page comes from