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
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to