xref: /freebsd/contrib/ofed/librdmacm/man/rdma_destroy_srq.3 (revision 2a58b312b62f908ec92311d1bd8536dbaeb8e55b)
Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md
"RDMA_DESTROY_SRQ" 3 "2011-06-15" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
NAME
rdma_destroy_srq - Deallocate a SRQ.
SYNOPSIS
"#include <rdma/rdma_verbs.h>"

"void" rdma_destroy_srq "(struct rdma_cm_id *" id ");"

ARGUMENTS
"id" 12
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)