svc_rdma_sendto(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… svc_rdma_sendto(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual entry for svc_rdma_sendto β€” yes that's the function name AND the manual page name, we love a name that does double duty ✨


🌸 NAME 🌸

svc_rdma_sendto β€” Transmit an RPC reply πŸš€


✨ SYNOPSIS ✨

int svc_rdma_sendto (struct svc_rqst *rqstp );

πŸŽ€ ARGUMENTS πŸŽ€

  • rqstp β€” the processed RPC request, whose reply XDR is already sitting pretty in ::rq_res. like it's already packed, no cap, we're not re-encoding anything here 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Any resources still associated with rqstp are released upon return. periodt, that's the rule β€” you come back from this call and everything tied to that request is gone πŸ’€

If no reply message was possible, the connection is closed. yep, that's it, the whole vibe check fails and the connection goes bye 🫠


πŸ”₯ RETURN πŸ”₯

  • 0 β€” an RPC reply has been successfully posted πŸŽ‰ slay
  • -ENOMEM β€” a resource shortage occurred (connection is lost) 😭
  • -ENOTCONN β€” posting failed (connection is lost) πŸ’€
ngl bestie, two of the three outcomes mean the connection is gone. so like… check that return value, fr fr πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./net/sunrpc/xprtrdma/svc_rdma_sendto.c β€” the main character herself πŸ‘‘

and the whole friend group, in this exact order:


πŸ’– and that's the page! πŸ’– brought to you by <pink>./net/sunrpc/xprtrdma</pink> (the source/version, iykyk) and dated October 2026 β€” go forth and send those replies, bestie, and remember: release the resources, close the connection when there's no reply, and always read your errno πŸ§šπŸ’…πŸ“

πŸ“¦ where this page comes from