svc_rdma_iov_dma_map(9)
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 π
0if DMA mapping was successful β-EIOif the iovec cannot be DMA mapped π
π₯ SEE ALSO π₯
the whole friend group is here, bestie π«Ά:
- Kernel file
./net/sunrpc/xprtrdma/svc_rdma_sendto.c svc_rdma_send_ctxts_destroy(9)svc_rdma_send_ctxt_get(9)svc_rdma_send_ctxts_drain(9)svc_rdma_send_ctxt_put(9)svc_rdma_wake_send_waiters(9)svc_rdma_sq_wait(9)svc_rdma_post_send_err(9)svc_rdma_wc_send(9)svc_rdma_post_send(9)svc_rdma_encode_read_list(9)svc_rdma_encode_write_segment(9)svc_rdma_encode_write_chunk(9)svc_rdma_encode_write_list(9)svc_rdma_encode_reply_chunk(9)svc_rdma_page_dma_map(9)svc_rdma_xb_dma_map(9)svc_rdma_xb_count_sges(9)svc_rdma_check_pull_up(9)svc_rdma_xb_linearize(9)svc_rdma_pull_up_reply_msg(9)svc_rdma_send_error_msg(9)svc_rdma_sendto(9)svc_rdma_result_payload(9)
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
- 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