svc_rdma_sendto(9)
π svc_rdma_sendto(9) π
okay so bestie, welcome to the Kernel API Manual entry for svc_rdma_sendto β yes that's the function name AND the manual page name, we love a name that does double duty β¨
πΈ NAME πΈ
svc_rdma_sendto β Transmit an RPC reply π
β¨ SYNOPSIS β¨
int svc_rdma_sendto (struct svc_rqst *rqstp );
π ARGUMENTS π
rqstpβ the processed RPC request, whose reply XDR is already sitting pretty in::rq_res. like it's already packed, no cap, we're not re-encoding anything here π«Ά
π¦ DESCRIPTION π¦
Any resources still associated with rqstp are released upon return. periodt, that's the rule β you come back from this call and everything tied to that request is gone π
If no reply message was possible, the connection is closed. yep, that's it, the whole vibe check fails and the connection goes bye π«
π₯ RETURN π₯
0β an RPC reply has been successfully posted π slay-ENOMEMβ a resource shortage occurred (connection is lost) π-ENOTCONNβ posting failed (connection is lost) π
ngl bestie, two of the three outcomes mean the connection is gone. so likeβ¦ check that return value, fr fr π
π SEE ALSO π
Kernel file ./net/sunrpc/xprtrdma/svc_rdma_sendto.c β the main character herself π
and the whole friend group, in this exact order:
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_iov_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_result_payload(9)
π and that's the page! π brought to you by <pink>./net/sunrpc/xprtrdma</pink> (the source/version, iykyk) and dated October 2026 β go forth and send those replies, bestie, and remember: release the resources, close the connection when there's no reply, and always read your errno π§π
π
π¦ 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