1 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md
2 .TH "RDMA_DESTROY_SRQ" 3 "2011-06-15" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
4 rdma_destroy_srq \- Deallocate a SRQ.
6 .B "#include <rdma/rdma_verbs.h>"
8 .B "void" rdma_destroy_srq
9 .BI "(struct rdma_cm_id *" id ");"
14 Destroy an SRQ allocated on the rdma_cm_id.
16 Returns 0 on success, or -1 on error. If an error occurs, errno will be
17 set to indicate the failure reason.
19 Users should destroy any SRQ associated with an rdma_cm_id before
22 rdma_create_srq(3), rdma_destroy_id(3), ibv_destroy_srq(3)