[openib-general] Re: SDP use of CMA
Michael S. Tsirkin
mst at mellanox.co.il
Mon Dec 5 21:54:58 PST 2005
Quoting r. Sean Hefty <sean.hefty at intel.com>:
> Subject: SDP use of CMA
>
> 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
Fine with me.
--
MST
More information about the general
mailing list