[openib-general] Re: RFC: cma: need rdma_unbind

Sean Hefty mshefty at ichips.intel.com
Mon Apr 24 14:56:58 PDT 2006


Michael S. Tsirkin wrote:
> Hmm. As I see it, keeping the QP alive for a given timeout after user requested
> close is a simple way to implement graceful close, not limited to sockets.
> On the other hand, we need to free the port immediately.

This seems to imply that there's another connection abstraction on top of the CMA.

 From the perspective of the CMA, the connection, and hence port, is still in 
use.  For example, I don't think that rdma_unbind() could work if the underlying 
device were iWarp, or something that used the port number when mapping data.

I also can't think of a better solution to this problem.

- Sean



More information about the general mailing list