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

Michael S. Tsirkin mst at mellanox.co.il
Mon May 8 06:58:55 PDT 2006


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?

/**
 * 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".

-- 
MST



More information about the general mailing list