All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH qperf] Destroy server's QP in CM mode.
@ 2017-02-08 10:08 Ram Amrani
       [not found] ` <1486548525-7518-1-git-send-email-Ram.Amrani-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ram Amrani @ 2017-02-08 10:08 UTC (permalink / raw)
  To: Ira.weiny-ral2JQCrhuEAvxtiuMwx3w
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA,
	Ariel.Elior-YGCgFSpz5w/QT0dZR+AlfA, Ram Amrani

Signed-off-by: Ram Amrani <Ram.Amrani-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
---
 src/rdma.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/rdma.c b/src/rdma.c
index 0d370bd..117b429 100644
--- a/src/rdma.c
+++ b/src/rdma.c
@@ -1937,6 +1937,7 @@ cm_close(DEVICE *dev)
             error(SYS, "rdma_disconnect failed");
     cm_expect_event(dev, RDMA_CM_EVENT_DISCONNECTED);
     cm_ack_event(dev);
+    rdma_destroy_qp(dev->cm.id);
     rdma_destroy_id(dev->cm.id);
     rdma_destroy_event_channel(dev->cm.channel);
 }
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-12  8:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-08 10:08 [PATCH qperf] Destroy server's QP in CM mode Ram Amrani
     [not found] ` <1486548525-7518-1-git-send-email-Ram.Amrani-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2017-02-08 21:44   ` ira.weiny
     [not found]     ` <20170208214426.GB26726-W4f6Xiosr+yv7QzWx2u06xL4W9x8LtSr@public.gmane.org>
2017-02-09 20:39       ` Weiny, Ira
     [not found]         ` <2807E5FD2F6FDA4886F6618EAC48510E3C6463B0-8k97q/ur5Z2krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2017-02-12  8:16           ` Amrani, Ram

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.