rdma_destroy_srq (3) Linux Manual Page
rdma_destroy_srq – Deallocate a SRQ.
Synopsis
#include <rdma/rdma_verbs.h>
void rdma_destroy_srq
(struct rdma_cm_id *id);
Arguments
- id
- RDMA identifier.
Description
Destroy an SRQ allocated on the rdma_cm_id.
Return Value
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason.
Notes
Users should destroy any SRQ associated with an rdma_cm_id before destroying the ID.
See Also
rdma_create_srq(3), rdma_destroy_id(3), ibv_destroy_srq(3)
