[openib-general] [PATCH] mthca: make IB_SEND_FENCE work

Sean Hefty mshefty at ichips.intel.com
Mon Aug 14 13:47:01 PDT 2006


Michael S. Tsirkin wrote:
> We still need to test size0 to set size0 = size.
> So we just reuse the extra branch, and I agree with Roland
> this way code is clearer.

You're right; I missed where size0 was used below the loop.

Then I think we can also do without initializing op0 = 0, and we can eliminate 
the size0 initialization by changing if (!size0) to if (!nreq).

- Sean




More information about the general mailing list