Quoting r. Sean Hefty <[EMAIL PROTECTED]>:
> Subject: Re: RFC: cma: need rdma_unbind
> 
> Michael S. Tsirkin wrote:
> >Sean, it seems that a rdma_unbind API is necessary for SDP SO_REUSEADDR 
> >support.
> >This should only remove association between the port and the id, without
> >affecting the CM state.
> >
> >Reason: when SO_REUSEADDR is set, the port becomes usable immediately
> >after close call, but the QP must not be closed immediately -
> >rather its closed after graceful close or after timeout.
> >
> >Thus I can not destroy the id, but the association with
> >port needs to be cancelled.
> 
> I'm in the process of adding rdma_set_option and rdma_get_option calls.

Hmm. Not sure this is a good idea - won't proper APIs be better
for kernel use?

> If SO_REUSEADDR support were added through these calls, can we come up with a 
> solution that doesn't require adding an rdma_unbind call?

I don't see how - e.g. the graceful close must be done at SDP level.

-- 
MST
_______________________________________________
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