rpcrdma_wc_receive(9)
π rpcrdma_wc_receive(9) π
okay bestie, welcome to the Kernel API Manual β¨ this little page is all about rpcrdma_wc_receive, and honestly? it's a whole vibe. let's get into it π«Ά
πΈ NAME πΈ
rpcrdma_wc_receive β this one gets invoked by the RDMA provider for each and every polled Receive WC π like, every single one, no skips, no cap.
β¨ SYNOPSIS β¨
void rpcrdma_wc_receive (struct ib_cq *cq , struct ib_wc *wc );
that's it. that's the whole signature. short, sweet, iconic π
π¦ ARGUMENTS π¦
cqβ the completion queue π yeah, that one. the CQ.wcβ the WCE for a completed Receive WR πΈ it's giving "work completion entry for a receive work request," and honestly? obsessed.
π SEE ALSO π
so like, if you wanna go down the rabbit hole (and you do), here's the whole friend group π first up, the kernel file: ./net/sunrpc/xprtrdma/verbs.c β that's where the magic lives, iykyk β¨
rpcrdma_flush_disconnect(9)rpcrdma_wc_send(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)rpcrdma_post_recvs(9)
like, that's the whole squad ππ«Ά go read them too, they ate π
ngl this one's short but it's important β a receive work completion doesn't just vibe-check itself, somebody's gotta be invoked for it π₯
and that's the page, bestie π brought to you by the source tree ./net/sunrpc/xprtrdma, dated October 2026, straight out of the Kernel API Manual. periodt. πβπ
π¦ 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