xprt_rdma_set_port(9)
π xprt_rdma_set_port(9) π
okay so bestie, welcome to xprt_rdma_set_port β it's a lil function from the Kernel API Manual and honestly it's giving "quiet luxury" bc it does exactly one thing and doesn't make a whole production out of it π
β¨ NAME β¨
xprt_rdma_set_port β update the server port with the rpcbind result πΈ
like⦠that's it. that's the whole job. slay.
π¦ SYNOPSIS π¦
void xprt_rdma_set_port (struct rpc_xprt *xprt , u16 port );
returns void, bestie β nothing to catch, nothing to check, no notes π
π ARGUMENTS π
xprtβ the controlling RPC transport, aka the main character of this whole operation πportβ the new port value, typeu16, freshly handed over π
π DESCRIPTION π
So here's the tea: this function updates the server port using the result it got back from rpcbind. That's the entire plotline, no subplots, no cliffhanger π
And the transport's connect status? Unchanged. Literally untouched. not me noticing it doesn't even flinch π so don't go expecting any side effects or status shuffling β it stays exactly where it was, periodt.
π₯ SEE ALSO π₯
Kernel file ./net/sunrpc/xprtrdma/transport.c β go read the source, iykyk π§
xprt_rdma_connect_worker(9)xprt_rdma_inject_disconnect(9)xprt_rdma_destroy(9)xprt_setup_rdma(9)xprt_rdma_close(9)xprt_rdma_timer(9)xprt_rdma_set_connect_timeout(9)xprt_rdma_connect(9)xprt_rdma_alloc_slot(9)xprt_rdma_free_slot(9)xprt_rdma_allocate(9)xprt_rdma_free(9)xprt_rdma_send_request(9)
fr fr go look up the whole ragtag crew above if you wanna see the full lore π
okay that's the page!! sending you off with the source/version vibes: this one lives under ./net/sunrpc/xprtrdma, dated October 2026, manual page xprt_rdma_set_port(9) π« mwah, go forth and set some ports π«Άπ
β¨
π¦ 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