svc_rdma_encode_write_list(9)
π svc_rdma_encode_write_list β like, the Kernel API Manual edition β¨
okay so bestie, welcome to the glow-up of svc_rdma_encode_write_list(9). this one lives in the Kernel API Manual and honestly? it's giving backend-RDMA-realness, so let's get into it π«Ά
πΈ NAME πΈ
svc_rdma_encode_write_list β Encode RPC Reply's Write chunk list
π SYNOPSIS π
ssize_t svc_rdma_encode_write_list (struct svc_rdma_recv_ctxt *rctxt ,
struct svc_rdma_send_ctxt *sctxt );
π¦ ARGUMENTS π¦
rctxtβ the Reply context π it's literally holding all the info about the RPC Call, main character energy frsctxtβ the Send context for the RPC Reply β¨ this one's the vessel
β DESCRIPTION β
no cap, this is the part where we talk about what you get back π
Return values: On success, it returns the length in bytes of the Reply XDR buffer that was consumed by the Reply's Write list π
and on XDR buffer overflow you get -EMSGSIZE π periodt.
lowkey important: -EMSGSIZE is the overflow signal, so don't be surprised when it shows up β that's her whole job π«Ά
π SEE ALSO π
- 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_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)
like, that's the whole friend group right there π§π go say hi.
and that's the tea, bestie π this cutie came from <green>./net/sunrpc/xprtrdma</green> and the version/date stamp is literally October 2026 β iconic, timeless, obsessed π
β¨
π¦ 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