Hal Rosenstock wrote:

It seems that when ib_create_send_mad is called, the wr_id is the
pointer to the ib_mad_send_buf structure and can no longer be used by
the client. Maybe a way around this is to add another "wr_id" in that
structure which the client could use in this case for any additional
context. Never mind: just saw void *context[2] in that structure just
for precisely what I was looking for here...

The user can set wr_id to something else, as long as they can get back to the returned ib_mad_send_buf in order to free it.


But yes, the context fields are there for the user as well...

- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to