Deallocate a srq.
#include <rdma/rdma_verbs.h>
void rdma_destroy_srq (struct rdma_cm_id *id);
RDMA identifier.
Destroy an SRQ allocated on the rdma_cm_id.
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason.
Users should destroy any SRQ associated with an rdma_cm_id before destroying the ID.