ib_send_cm_drep(9)
π ib_send_cm_drep(9) β the Kernel API Manual girlies' edition π
okay so bestie, this one lives in the Kernel API Manual section and it's literally called ib_send_cm_drep β and yes, before you ask, "drep" is short for disconnection reply, iykyk. she's giving "polite goodbyes in RDMA" β¨
β¨ NAME β¨
ib_send_cm_drep β Sends a disconnection reply to a disconnection request. π«Ά
like she's literally the "k bye, got your disconnect, bye for real" text π
πΈ SYNOPSIS πΈ
int ib_send_cm_drep (struct ib_cm_id *cm_id , const void *private_data ,
u8 private_data_len );
that's the whole vibe, no cap. an int comes back, and you feed her three things π
π¦ ARGUMENTS π¦
cm_idβ Connection identifier associated with the connection being released. it's the main character of this whole operation, fr fr β she's the one getting released πprivate_dataβ Optional user-defined private data sent with the disconnection reply message. key word: optional β a little extra something you can tuck into the reply if you want πprivate_data_lenβ Size of the private data buffer, in bytes. it's au8, so she's cute and small, and she's counting bytes bestie, not vibes π
π DESCRIPTION π
Okay so here's the tea β β if the cm_id is in the correct state, the CM will transition the connection to the timewait state. that transition happens anyway β even if an error occurs sending the DREP message. π
like, she's moving on regardless. the state change is not asking permission. iconic behavior honestly π«Ά
β SEE ALSO β
the whole friend group, all in one place (src: Kernel file ./include/rdma/ib_cm.h) π§
ib_cm_handler(9)ib_create_cm_id(9)ib_destroy_cm_id(9)ib_cm_listen(9)ib_send_cm_req(9)ib_send_cm_rep(9)ib_send_cm_rtu(9)ib_send_cm_dreq(9)ib_cm_notify(9)ib_send_cm_rej(9)ib_prepare_cm_mra(9)ib_cm_init_qp_attr(9)ib_send_cm_sidr_req(9)ib_send_cm_sidr_rep(9)ibcm_reject_msg(9)
πΈ ok that's the page bestie, ily, go send your disconnection replies responsibly πΈ
sign-off szn: this one came out of ./include/rdma, dated October 2026, and it's filed under ib_send_cm_drep(9) β periodt. ππβ¨
π¦ 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