RDMA_DESTROY_QP(3)

✨ RDMA_DESTROY_QP ✨ (the rdma_destroy_qp moment) πŸ¦‹

okay bestie, welcome to the librdmacm Programmer's Manual section 3, this is rdma_destroy_qp and she is so important πŸ’…


🌸 NAME 🌸

rdma_destroy_qp β€” deallocate a QP. that's it. that's the whole job. and she ate πŸ’–


🌈 SYNOPSIS 🌈

#include <rdma/rdma_cma.h>

void rdma_destroy_qp (struct rdma_cm_id *id);

like. she takes one arg. no return value. zero drama. main character energy fr fr ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • id β€” the RDMA identifier. that's your whole personality in this call, girl 🫢

πŸ’œ DESCRIPTION πŸ’œ

Destroy a QP that was allocated on the rdma_cm_id. πŸ’€

not me calling this and forgetting I still have cleanup to do... anyway. it destroys the QP. periodt.

πŸ‘‘ NOTES πŸ‘‘

okay this is the part you CANNOT skip, bestie, lowkey it's the whole vibe check:

Users must destroy any QP associated with an rdma_cm_id before destroying the ID. πŸ”₯

like. QP first. ID second. in that order. no cap. if you get this backwards that is not iconic behaviour and the vibes will be rancid 😭


πŸ¦‹ SEE ALSO πŸ¦‹

go read these too, they're all in the same friend group 🌸


and that's the whole page!! πŸ’– shoutout to librdmacm, dated 2007-05-15 β€” she's been serving since 2007 and she's still slaying ⭐ mwah, go clean up your QPs, ily, bye πŸŽ€πŸ§šβœ¨

πŸ“¦ where this page comes from