I'm like to start a discussion of having the CMA support SDP.  To do this, I'd
like to propose adding the following optional call to the CMA:

enum rdma_cm_protocol {
        RDMA_CM_DEFAULT,
        RDMA_CM_SDP
};

/**
 * rdma_set_protocol - Associate a specific connection protocol with the
 *   RDMA identifier.
 *
 * @id: RDMA identifier.
 * @protocol: Connection protocol.
 * @version: Connection protocol version, or 0 to use the default.
 *
 * This is an optional call that may be made to specify that the indicated
 * connection protocol be used when establishing connections to the
 * associated RDMA identifier.
 */
int rdma_set_protocol(struct rdma_cm_id *id, enum rdma_cm_protocol protocol,
                      int version);


For most users, this routing would not need to be called.  If called by SDP,
then the CMA would use SDP's service IDs and private data format.  The CMA would
be responsible for setting the local port number and source/destination IP
addresses.  All other fields would be set by the caller.

Comments?

- 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