Re: [PATCH 5/6 v2] IB: IP address based RDMA connection manager

2006-03-13 Thread Roland Dreier
Sean> It's dropping the reference on cma_dev, as opposed to Sean> id_priv. Duh, sorry. - R. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: [PATCH 5/6 v2] IB: IP address based RDMA connection manager

2006-03-13 Thread Sean Hefty
> > +static void cma_detach_from_dev(struct rdma_id_private *id_priv) > > +{ > > + list_del(&id_priv->list); > > + if (atomic_dec_and_test(&id_priv->cma_dev->refcount)) > > + wake_up(&id_priv->cma_dev->wait); > > + id_priv->cma_dev = NULL; > > +} > >doesn't need to do atomic_dec_and

Re: [PATCH 5/6 v2] IB: IP address based RDMA connection manager

2006-03-13 Thread Roland Dreier
It seems that cma_detach_from_dev(): > +static void cma_detach_from_dev(struct rdma_id_private *id_priv) > +{ > +list_del(&id_priv->list); > +if (atomic_dec_and_test(&id_priv->cma_dev->refcount)) > +wake_up(&id_priv->cma_dev->wait); > +id_priv->cma_dev = NULL; > +}

[PATCH 5/6 v2] IB: IP address based RDMA connection manager

2006-03-06 Thread Sean Hefty
Kernel mode connection management agent over Infiniband that connects based on IP addresses. The agent defines a generic RDMA connection abstraction to support clients wanting to connect over different RDMA devices. Agent also handles RDMA device hotplug events on behalf of clients. Signed-off-b