Hi Roland,

I have a couple of questions on the IPoIB completion handler:

Why key off bit in wc.wr_id rather than use wc.opcode to determine where
the completed operation was a receive or transmit ?

Also, when wc.status != success, wr_id cannot be trusted but is still
used to determine operation type (receive/transmit) and more importantly
the index into transmit/receive ring. Can't the index be determined
based on rotating around the rings based on the number of receive or
transmit completions "seen" without using the wr_id ? Are there other
better ways of doing this ?

Thanks.

-- Hal


_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

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

Reply via email to