svc_rdma_encode_read_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 🫢:


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