xprt_rdma_set_port(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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, type u16, 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 🧚


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