rpcrdma_reset_cwnd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rpcrdma_reset_cwnd(9) πŸ’…

okay so this is a page from the Kernel API Manual, bestie, and it's about one tiny function that does one tiny thing but like... an important tiny thing, y'know? πŸŽ€


✨ NAME ✨

rpcrdma_reset_cwnd β€” reset the xprt's congestion window πŸ¦‹

like, that's literally it. that's the whole job. resetting the congestion window. slay.


🌸 SYNOPSIS 🌸

void rpcrdma_reset_cwnd (struct rpcrdma_xprt *r_xprt );

no return value, no drama, it just goes in and does the thing πŸ’œ


🫢 ARGUMENTS 🫢

  • r_xprt β€” the controlling transport instance. like, this is the one that's in charge, the main character of this whole operation πŸ‘‘

🧚 DESCRIPTION 🧚

so here's the vibe: this function prepares r_xprt for the next connection by reinitializing its credit grant to one. one! a single credit! iconic minimalism honestly.

and if you're sitting there like "bestie, why one?" β€” the manual points you at RFC 8166, Section 3.3.3, so go read that, iykyk πŸ“–βœ¨

no cap, that's the entire description. it's a small function with a small job and it does it flawlessly.


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./net/sunrpc/xprtrdma/rpc_rdma.c β€” that's where the magic lives, go look πŸ“

like a whole little friend group of rpcrdma functions, and honestly? obsessed. go read them all, they're all valid πŸ’–


ngl this one is short but it's doing exactly what it says on the tin, and there's nothing more attractive than a function that's honest about itself πŸ’…

and that's the whole page!! brought to you straight out of ./net/sunrpc/xprtrdma, dated October 2026 β€” screenshot it, frame it, put it on your wall, it's giving kernel lore πŸŒˆβ­πŸ’œ

πŸ“¦ where this page comes from