[openib-general] SDP use of CMA

Sean Hefty mshefty at ichips.intel.com
Tue Dec 6 09:31:46 PST 2005


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



More information about the general mailing list