[openib-general] MAD receive work completion

Roland Dreier roland at topspin.com
Thu Mar 10 16:04:53 PST 2005


    Sean> I'm hitting an issue in the CM where I need to access work
    Sean> completion information about a received MAD.  The CM takes
    Sean> the received MAD and queues it to a CM owned work queue for
    Sean> processing.  It then accesses the wc field from
    Sean> ib_mad_recv_wc shown below.

This doesn't seem worth an API change to me.  I think the simplest and
best solution is just to copy the work completion information you need
into the work structure you put onto your workqueue.

 - R.



More information about the general mailing list