[ofa-general] Re: [PATCH 2 of 2] IB/mlx4: shrinking WQE

Roland Dreier rdreier at cisco.com
Thu Feb 7 09:32:28 PST 2008


 >  /*
 >   * Stamp a SQ WQE so that it is invalid if prefetched by marking the
 > - * first four bytes of every 64 byte chunk with 0xffffffff, except for
 > - * the very first chunk of the WQE.
 > + * first four bytes of every 64 byte chunk with
 > + * 0x7FFFFFF | (invalid_ownership_value << 31).
 > + *
 > + * When max WR is than or equal to the WQE size,

"less than or equal"?

 > + * as an optimization, we can stamp WQE with 0xffffffff,
 > + * and skip the very first chunk of the WQE.
 >   */



More information about the general mailing list