rpma_srq_delete - delete the shared RQ object
#include <librpma.h>
struct rpma_srq;
int rpma_conn_req_delete(struct rpma_srq **srq_ptr);
rpma_srq_delete() deletes the shared RQ object.
The rpma_srq_delete() function returns 0 on success or a negative error code on failure. rpma_srq_delete() sets *srq_ptr value to NULL on success and on failure.
rpma_srq_delete() can fail with the following errors:
RPMA_E_INVAL - srq_ptr is NULL
RPMA_E_PROVIDER - ibv_destroy_cq(3), ibv_destroy_comp_channel(3), or ibv_destroy_srq(3) failed
rpma_srq_new(3), rpma_srq_get_rcq(3), librpma(7) and https://pmem.io/rpma/
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.