rpcrdma_xprt_disconnect(9)
β¨ NAME β¨
okay bestie, welcome to the rpcrdma_xprt_disconnect(9) page from the Kernel API Manual β this one is literally about disconnecting the underlying transport π
rpcrdma_xprt_disconnect β disconnect the underlying transport. no cap.
πΈ SYNOPSIS πΈ
void rpcrdma_xprt_disconnect (struct rpcrdma_xprt *r_xprt );
she takes one arg and returns void, periodt β¨
π ARGUMENTS π
r_xprtβ controlling transport instance. that's the main character struct here π
π¦ DESCRIPTION π¦
okay so the caller serializes β literally. Either the transport send lock is held, or we're being called to destroy the transport. both vibes are valid π«Ά
On return, r_xprt is completely divested of all hardware resources and prepared for the next ->connect operation. she's clean, she's ready, she's giving fresh-start energy β¨
π SEE ALSO π
the whole friend group, no skips:
- Kernel file
./net/sunrpc/xprtrdma/verbs.c rpcrdma_flush_disconnect(9)rpcrdma_wc_send(9)rpcrdma_wc_receive(9)rpcrdma_cm_event_handler(9)rpcrdma_xprt_connect(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)
signed off with love from ./net/sunrpc/xprtrdma, October 2026, and the footer baddie rpcrdma_xprt_disconnect(9) π
π
π¦ 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