[openib-general] design for communication established affiliated asynchronous event handling

Roland Dreier rdreier at cisco.com
Fri Jun 16 09:36:51 PDT 2006


>I suggest the following design: the CMA would replace the event handler
>provided with the qp_init_attr struct with a callback of its own and
>keep the original handler/context on a private structure.

This is probably fine.  There is one further situation where the
connection needs to be established, beyond RTU and the communication
established async event.  Namely, if a receive completion is polled.
Since async events are, well, asynchronous, there's no guarantee that
the communication established event will be reported any time soon...




More information about the general mailing list