svc_rdma_xdr_decode_req(9)
π svc_rdma_xdr_decode_req (9) β like, the Kernel API Manual page, bestie β¨
okay so welcome to the Kernel API Manual entry for svc_rdma_xdr_decode_req, and yes we are about to decode a transport header together, no cap π
πΈ NAME πΈ
svc_rdma_xdr_decode_req β decodes the transport header, that's literally her whole job π
β¨ SYNOPSIS β¨
int svc_rdma_xdr_decode_req (struct xdr_buf *rq_arg , struct
svc_rdma_recv_ctxt *rctxt );
π«Ά ARGUMENTS π«Ά
rq_argβ thexdr_bufholding the ingress RPC/RDMA message, aka where the message comes in π¦rctxtβ the state of decoding, the little vibe check of what's going on rn
π₯ DESCRIPTION π₯
So on entry, xdr->head[0].iov_base points to the first byte of the RPC-over-RDMA transport header. Periodt. That's the starting line π
On successful exit, head[0] points to the first byte past the RPC-over-RDMA header. And for RDMA_MSG, that is the RPC message, iykyk π
The length of the RPC-over-RDMA header is returned. That's the whole return situation, bestie β¨
Assumptions, because we always gotta be honest about our assumptions π₯Ί
- The transport header is entirely contained in the head iovec. Like, entirely. No sneaky bits hiding elsewhere π
π SEE ALSO π
Kernel file ./net/sunrpc/xprtrdma/svc_rdma_recvfrom.c, plus the whole friend group:
svc_rdma_recv_ctxts_destroy(9)svc_rdma_recv_ctxt_get(9)svc_rdma_recv_ctxt_put(9)svc_rdma_release_ctxt(9)svc_rdma_post_recvs(9)svc_rdma_wc_receive(9)svc_rdma_flush_recv_queues(9)xdr_count_read_segments(9)xdr_count_write_chunks(9)svc_rdma_recvfrom(9)
and that's the page, bestie π§ this one's filed under ./net/sunrpc/xprtrdma, dated October 2026, and it's the svc_rdma_xdr_decode_req(9) girlie herself signing off π slay π
π¦ 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