[openib-general] rdma_cm.h: comment nits.

Tom Tucker tom at opengridcomputing.com
Tue May 9 20:18:00 PDT 2006


On Mon, 2006-05-08 at 16:58 +0300, Michael S. Tsirkin wrote:
> Two nits wrt rdma_cm.h:
> 
> /**
>  *  * rdma_reject - Called on the passive side to reject a connection request.
>  */
> 
> 
> Its OK to call rdma_reject on active side as well, isn't it?

You'll get -EINVAL on iWARP if you do this....

> /**
>  * rdma_cm_event_handler - Callback used to report user events.
>  *
>  * Notes: Users may not call rdma_destroy_id from this callback to destroy
>  *   the passed in id, or a corresponding listen id.  Returning a
>  *   non-zero value from the callback will destroy the corresponding id.
>  */
> 
> CMA will actually always destroy the passed in id, not the "corresponding id".





More information about the general mailing list