[ofa-general] [PATCH 6/10 v1] IB/mlx4: Add LSO support

Roland Dreier rdreier at cisco.com
Tue Apr 1 12:59:21 PDT 2008


 > +	halign = ALIGN(wr->wr.ud.hlen, 16);

This doesn't seem connected to the problem I see, but is this correct?
Suppose hlen is 48... then halign will be 48 but it really should be
64 I think.  Do we really want

	halign = ALIGN(wr->wr.ud.hlen + sizeof *wqe, 16);

instead?

 - R.



More information about the general mailing list