[ofa-general] Re: libmlx4 wc flash

Roland Dreier rdreier at cisco.com
Tue May 15 13:24:50 PDT 2007


>  >  		memcpy(ctx->bf_page + ctx->bf_offset, ctrl, align(size * 16, 64));

By the way, if we have an SQ with 32-byte WQEs, and we do blueflame
from a WQE at the end of the buffer, we might end up reading off the
end of the buffer.  Not very likely, I guess.

I wonder if memset(,0,) for the remaining bytes might be faster anyway?

 - R.



More information about the general mailing list