rdma_destroy_qp(9)
π rdma_destroy_qp β a Kernel API Manual moment
okay bestie, so we're in the Kernel API Manual today and the vibe is cleanup. This one's short, it's sweet, and it's giving "take out the trash before your mom gets home" energy. Let's go β¨
πΈ NAME πΈ
rdma_destroy_qp β deallocate the QP that's associated with the RDMA identifier you specify. that's it. that's the whole job. iconic honestly π
π¦ SYNOPSIS π¦
void rdma_destroy_qp (struct rdma_cm_id *id );
no return value, no drama, just vibes and a pointer. periodt π
β¨ ARGUMENTS β¨
idβ okay so real talk, the original literally says-- undescribed --π so we're not gonna sit here and make something up for you. it's thestruct rdma_cm_id *from the synopsis, and that's all we're legally allowed to tell you. iykyk π«Ά
π DESCRIPTION π
okay this is THE rule and you need to hear it fr fr:
Users must destroy any QP associated with an RDMA identifier before destroying the RDMA ID.
that's not a suggestion, that's not a "whenever you get around to it" β that's a hard must. QP first, then the ID. do it in that order and you're slaying; do it backwards and you're on your own π
think of it like this: the QP is the roommate and the RDMA ID is the apartment. you do not move out of the apartment while your roommate is still standing in the kitchen. you get the roommate out first, then you hand in the keys. simple as that π
π₯ SEE ALSO π₯
so many friends in the group chat, and we're linking every single one because nobody gets left on read:
- Kernel file
./include/rdma/rdma_cm.h rdma_create_id(9)rdma_destroy_id(9)rdma_restrict_node_type(9)rdma_bind_addr(9)rdma_resolve_addr(9)rdma_resolve_route(9)rdma_resolve_ib_service(9)rdma_create_qp(9)rdma_init_qp_attr(9)rdma_listen(9)rdma_notify(9)rdma_reject(9)rdma_disconnect(9)rdma_join_multicast(9)rdma_leave_multicast(9)rdma_set_service_type(9)rdma_set_reuseaddr(9)rdma_set_afonly(9)rdma_reject_msg(9)rdma_consumer_reject_data(9)rdma_read_gids(9)
(and yes, rdma_create_qp(9) is right there β make the QP, destroy the QP, the circle of life π¦)
π sign-off π
this little masterpiece lives in ./include/rdma, it's dated October 2026, and its whole name-and-number is rdma_destroy_qp(9). go forth, destroy your QPs responsibly, and remember: QP before ID, always πβ¨π
π¦ 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