ib_cancel_mad(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

okay so bestie, this page is ib_cancel_mad(9) from the Kernel API Manual, and it does exactly one iconic thing: it cancels an outstanding send MAD operation. that's it. that's the whole gig. πŸŽ€


✨ SYNOPSIS ✨

void ib_cancel_mad (struct ib_mad_send_buf *send_buf );

no cap, that's the whole signature β€” returns void, takes one pointer, zero drama. πŸ¦‹

🌸 ARGUMENTS 🌸

  • send_buf β€” this is the one and only thing you hand over, and it indicates the MAD to cancel. yes, indicates. it's telling the kernel "this one, this MAD right here, cancel it please" πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

so like, when you call this, the MADs get returned to the user through the corresponding ib_mad_send_handler. that's the whole vibe β€” you cancel, and they come back to you via the handler. the way that callback is literally the main character of the return path 😭

ngl this is the entire description, so don't go looking for hidden extras β€” everything you need to know is that ib_mad_send_handler is where your cancelled MADs show up again. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

first up, the kernel file that lives at ./include/rdma/ib_mad.h β€” go read it, it's giving source of truth ⭐

and then, the full friend group, all the (9) friends you should also check out:


anyway, that's the tea β€” this page lives in ./include/rdma, it's dated October 2026, and it's filed under ib_cancel_mad(9). mwah, go cancel some MADs responsibly πŸ’–βœ¨

πŸ“¦ where this page comes from