rpcrdma_post_recvs(9)
π rpcrdma_post_recvs β like, the whole manual page, bestie
okay so this is rpcrdma_post_recvs(9) from the Kernel API Manual, and honestly? it's giving "tiny function, big responsibilities." let me walk you through it π«Ά
β¨ NAME β¨
rpcrdma_post_recvs β Refill the Receive Queue π
like, it literally tops up the receive queue. that's the whole vibe. no cap.
πΈ SYNOPSIS πΈ
void rpcrdma_post_recvs (struct rpcrdma_xprt *r_xprt , int needed );
that's it. that's the signature. she's short, she's sweet, she returns void (iconic behaviour, honestly β no notes) π
π¦ ARGUMENTS π¦
r_xprtβ the controlling transport instance. think of it as the main character of this whole operation π it's thestruct rpcrdma_xprt *that's running the show.neededβ the current credit grant. anint. this is how many credits you've got rn, and the function is gonna work with that number. slay β¨
π SEE ALSO π
okay so this is the part where I list all her friends, and there are so many of them, but I'm not skipping a single one because we don't do that here π
first up, the kernel file where the magic lives: ./net/sunrpc/xprtrdma/verbs.c π
and now the whole squad, in order, exactly as they appear:
rpcrdma_flush_disconnect(9)rpcrdma_wc_send(9)rpcrdma_wc_receive(9)rpcrdma_cm_event_handler(9)rpcrdma_xprt_connect(9)rpcrdma_xprt_disconnect(9)rpcrdma_sendctx_get_locked(9)rpcrdma_sendctx_unget_locked(9)rpcrdma_sendctx_put_locked(9)rpcrdma_mrs_refresh(9)rpcrdma_req_create(9)rpcrdma_req_setup(9)rpcrdma_rep_put(9)rpcrdma_buffer_create(9)rpcrdma_req_destroy(9)rpcrdma_mrs_destroy(9)rpcrdma_buffer_destroy(9)rpcrdma_mr_get(9)rpcrdma_reply_put(9)rpcrdma_buffer_get(9)rpcrdma_buffer_put(9)rpcrdma_regbuf_realloc(9)__rpcrdma_regbuf_dma_map(9)
like I said. the whole squad. every single one. periodt ππ₯
ngl bestie, if you're deep in the SunRPC/RDMA trenches, you're gonna be seeing a lot of these names. iykyk πΈ
and that's the page!! short and sweet, just like our girl rpcrdma_post_recvs π
this little beauty lives over in ./net/sunrpc/xprtrdma, and the version I'm reading is dated October 2026 π
β so yeah, mark your calendars, she's from the future (or at least, that's what the footer says, and I don't make the rules π§). mwah, 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