diff mbox

[qperf] Destroy server's QP in CM mode.

Message ID 1486548525-7518-1-git-send-email-Ram.Amrani@cavium.com (mailing list archive)
State Accepted
Headers show

Commit Message

Amrani, Ram Feb. 8, 2017, 10:08 a.m. UTC
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
---
 src/rdma.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Ira Weiny Feb. 8, 2017, 9:44 p.m. UTC | #1
On Wed, Feb 08, 2017 at 12:08:45PM +0200, Ram Amrani wrote:
> Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>

Thanks,

Applied to my internal tree.

I'm still setting up a public github tree.  I'll send out to the list where
that is when it is set up.

Ira

> ---
>  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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Ira Weiny Feb. 9, 2017, 8:39 p.m. UTC | #2
New master branch available at:

https://github.com/linux-rdma/qperf

> -----Original Message-----
> From: linux-rdma-owner@vger.kernel.org [mailto:linux-rdma-
> owner@vger.kernel.org] On Behalf Of ira.weiny
> Sent: Wednesday, February 08, 2017 1:44 PM
> To: Ram Amrani <Ram.Amrani@cavium.com>
> Cc: linux-rdma@vger.kernel.org; Ariel.Elior@cavium.com
> Subject: Re: [PATCH qperf] Destroy server's QP in CM mode.
> 
> On Wed, Feb 08, 2017 at 12:08:45PM +0200, Ram Amrani wrote:
> > Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
> 
> Thanks,
> 
> Applied to my internal tree.
> 
> I'm still setting up a public github tree.  I'll send out to the list where that is when
> it is set up.
> 
> Ira
> 
> > ---
> >  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@vger.kernel.org More majordomo info at
> http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Amrani, Ram Feb. 12, 2017, 8:16 a.m. UTC | #3
> New master branch available at:
> 
> https://github.com/linux-rdma/qperf
> 

Thanks!
Ram

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

Patch

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);
 }