Quoting r. Roland Dreier <[EMAIL PROTECTED]>:
> But it bloats the function and adds to i-cache footprint.  I'm sure it
> benchmarks fine but it adds to general cache usage that pushes useful
> code out of cache.

Hmm. Would you be more comfortable with just

+               if (unlikely(wqe_index >= wq->max))
+                       wqe_index = wq->max - 1;

The other case is there just in case, to catch firmware errors.

-- 
MST

_______________________________________________
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