ib_cancel_mad(9)
π 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:
ib_get_cpi_resp_time(9)ib_get_cpi_capmask2(9)ib_set_cpi_capmask2(9)opa_get_cpi_capmask2(9)ib_response_mad(9)ib_get_rmpp_resptime(9)ib_get_rmpp_flags(9)ib_set_rmpp_resptime(9)ib_set_rmpp_flags(9)ib_register_mad_agent(9)ib_unregister_mad_agent(9)ib_post_send_mad(9)ib_free_recv_mad(9)ib_modify_mad(9)ib_create_send_mad(9)ib_is_mad_class_rmpp(9)ib_get_mad_data_offset(9)ib_get_rmpp_segment(9)ib_free_send_mad(9)ib_mad_kernel_rmpp_agent(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms