[openib-general] [PATCH] initial CM module

frank zago fzago at systemfabricworks.com
Thu Dec 16 14:35:09 PST 2004


>> With the interface you propose it takes maybe 200 lines of code to 
>> establish a simple connection, while with a callback it can be down 
>> to 30 lines. It should be as easy as possible for an application or a 
>> driver to establish a connection. I shouldn't have to rewrite a CM 
>> state machine every time I need a connection.
>
>
> This API does use a callback model based on events.  You register for 
> a callback by calling ib_create_cm_id.
>
> - Sean
>
>
I was under the impression that with your proposal, an application would 
have to send REQ/REP/RTU/... mads. Is that the case?




More information about the general mailing list