svc_rdma_post_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is the Kernel API Manual page for svc_rdma_post_send(9), and it is literally here to Post a WR chain to the Send Queue. That's the whole vibe: you got a WR chain, you got a Send Queue, and this function is the matchmaker. πŸ’…

✨ SYNOPSIS ✨

       int svc_rdma_post_send (struct svcxprt_rdma *rdma , struct
       svc_rdma_send_ctxt *ctxt );

πŸŽ€ ARGUMENTS πŸŽ€

  • rdma β€” transport context
  • ctxt β€” WR chain to post

🌸 DESCRIPTION 🌸

So what's the tea? svc_rdma_post_send copies the fields in ctxt into stack variables. Why? To guarantee that those values remain available after the ib_post_send call. That's the protective bestie behavior we love to see. 🫢

Heads up, bestie: in some error flow cases, svc_rdma_wc_send releases ctxt. That's not a drill, that's just the documented behavior.

Return values, spelled out exactly:

  • 0: ctxt's WR chain was posted successfully
  • -ENOTCONN: The connection was lost

No cap, those are the only return values listed here. ⭐

πŸ¦‹ SEE ALSO πŸ¦‹

xoxo, your svc_rdma_post_send(9) girlie πŸ’… β€” sourced from ./net/sunrpc/xprtrdma, dated October 2026, version tag svc_rdma_post_send(9).

πŸ“¦ where this page comes from