svc_rdma_encode_read_list(9)
β¨ svc_rdma_encode_read_list β¨
okay so bestie, welcome to the Kernel API Manual page for svc_rdma_encode_read_list π
yes that's a whole mouthful and yes it's iconic, we move.
π NAME π
svc_rdma_encode_read_list β it encodes the RPC Reply's Read chunk list. that's the whole vibe. no cap.
π¦ SYNOPSIS π¦
ssize_t svc_rdma_encode_read_list (struct svc_rdma_send_ctxt *sctxt );
like, one function, one argument, one return type. clean. minimal. main character energy honestly π
πΈ ARGUMENTS πΈ
sctxtβ this is the send context for the RPC Reply, aka the little container that's holding all your reply-sending business together. give it a kiss, it's doing the work π«Ά
π₯ DESCRIPTION π₯
so here's the tea on what it gives back ββ¨ β the return values, fr fr:
- on success? it returns the length in bytes of the Reply XDR buffer that was consumed by the Reply Read list. slay, it tells you exactly how much it ate π
- and if the XDR buffer overflows? you get
-EMSGSIZE. not the moment, but that's what it does π
that's literally it, and honestly the way that it just does its one job is so refreshing ngl π
π SEE ALSO π
the whole friend group, assembled π«Ά:
- 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_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_sendto(9),svc_rdma_result_payload(9)
and that's the page!! π§ββοΈ this gorgeous little doc lives in ./net/sunrpc/xprtrdma, dated October 2026, and it's part of the Kernel API Manual. go read the source bestie, ily, bye ππ
π¦ 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