irdma_post_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 irdma_post_send β€” the manual, but make it make sense 🌸

okay so bestie, we're in the Kernel API Manual today πŸ’… and this page is all about irdma_post_send(9) β€” one little function that's about to be your whole personality. no cap, it's giving "tiny signature, big responsibilities". let's get into it πŸ”₯


✨ NAME ✨

irdma_post_send β€” kernel application wr

that's it. that's the whole name section. short and iconic πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the signature, copied exactly because we do not play with prototypes in this house:

int irdma_post_send (struct ib_qp *ibqp , const struct ib_send_wr *ib_wr
, const struct ib_send_wr **bad_wr );

yes the comma is on the next line. no we're not fixing it. it's in its era 🌈


πŸ’– ARGUMENTS πŸ’–

three args, three vibe checks, let's go:

  • ibqp β€” qp ptr for wr 🫢 (that's the qp pointer your work request is riding with)
  • ib_wr β€” work request ptr ✨ (the actual work request pointer, the star of the show)
  • bad_wr β€” return of bad wr if err 😭 (if something goes wrong, the bad work request gets handed back to you through this)
literally three params and each one has a job. respect the trio πŸ‘‘

πŸ‘‘ SEE ALSO πŸ‘‘

first off, the source of truth lives right here β€” kernel file ./drivers/infiniband/hw/irdma/verbs.c 🌸 so if you want the real real, that's the address.

and then… okay bestie, brace yourself, because this list is long long. iykyk. every single one, in order, no skipping, because i would never do you like that πŸ’œ

like… that's the whole extended friend group and you're gonna meet all of them eventually πŸ§šπŸ’«


πŸŽ€ the cute sign-off πŸŽ€

this little love letter lives over in ./drivers/infiniband/hw/irdma, and it's stamped October 2026 ⭐ β€” so go forth, post that send, and may your bad_wr always be NULL πŸ“πŸ’– periodt.

πŸ“¦ where this page comes from