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

Roland Dreier roland at topspin.com
Mon Jun 13 14:54:08 PDT 2005


    Jeff> OK, thanks. I checked and it does look like that is what is
    Jeff> happening. I'll set the context for the cm_id I pass into
    Jeff> ib_cm_listen to null. Assuming of course, that the cm_id
    Jeff> context for that one doesn't matter.

The context is just an opaque cookie that the CM will pass back to you
well it calls you back.  So if you don't need any context in your REQ
received callback, it's fine to use a NULL listen context.

 - R.




More information about the general mailing list