[openib-general] Re: SDP use of CMA

Fabian Tillier ftillier at silverstorm.com
Tue Dec 6 11:15:35 PST 2005


On 12/6/05, Michael S. Tsirkin <mst at mellanox.co.il> wrote:
> Quoting r. Sean Hefty <mshefty at ichips.intel.com>:
> > Subject: Re: SDP use of CMA
> >
> > Tom Tucker wrote:
> > > Not to jump in late on this, but why couldn't we just add a protocol
> > > parameter to the create_id call. Then it is arbitrarily extensible ala
> > > socket(AF_INET, SOCK_STREAM, <protocol!!!>)
> > >
> > > So what I'm specifically suggesting is:
> > >
> > > struct rdma_cm_id* rdma_create_id(rdma_cm_event_handler* cm_handler,
> > >                               void* context,
> > >                               rdma_cm_proto proto);
> >
> > This isn't much different that having a separate call to set the protocol.  I
> > went with a separate protocol API to add in version information as well.
> > Changing just the create_id call makes sense.
> >
> > - Sean
>
> I also have this notion that it might be a good idea to put the
> protocol in the reserved bits in the service id.
>
> Makes sense?

The protocol defines the private data format.  SDP already defines its
private data format which is different than the CMA's native private
data format.  The protocol input to the CMA would dictate what SID
range would be used (SDP's or the CMA's) and what the private data
format would be so that the CMA can properly process incoming
requests.

- Fab



More information about the general mailing list