[openib-general] cm-id->context should be NULL for IB_CM_REQ_RECEIVED ?

Roland Dreier roland at topspin.com
Mon Jun 13 14:12:42 PDT 2005


    Jeff> On the recieving end of a request, when the handler gets
    Jeff> called and the cm-id gets passed to your handler (aka when
    Jeff> the handler gets IB_CM_REQ_RECEIVED) it seems cm-id->context
    Jeff> isn't null. Is there some useful data in there? If not, I
    Jeff> think it makes more sense (and makes code easier to write to
    Jeff> use the cm handler) if the context is set to NULL.

I think the context gets populated from the context of the
corresponding cm_id that was passed to ib_cm_listen().

 - R.



More information about the general mailing list