> memcpy(ctx->bf_page + ctx->bf_offset, ctrl, align(size * 16,
> 64));
By the way, why are we aligning the size of the WQE we copy to 64
bytes? I copied this from Jack's code but I don't see anything that
requires it. We already have:
if (nreq == 1 && inl && size > 1 && size < ctx->bf_buf_size / 16) {
so we will always have at least 32 bytes to copy.
- R.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general