[openib-general] SDP use of CMA

Tom Tucker tom at opengridcomputing.com
Tue Dec 6 07:34:43 PST 2005


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);


Then we don't need a new call, it's extensible to new protocols, and
it's not a single purpose is_sdp parameter.

On Mon, 2005-12-05 at 14:27 -0800, Sean Hefty wrote:
> Caitlin Bestler wrote:
> > Generally, I was advocating adding an extra method
> > that appends "_sdp" to the name rather than inserting
> > an "is_sdp" param.
> 
> An option that supports this format would be to add a new call similar to:
> 
> struct rdma_cm_id* sdp_create_id(rdma_cm_event_handler event_handler,
> 				 void *context);
> 
> - Sean
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



More information about the general mailing list