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

Roland Dreier rdreier at cisco.com
Wed Apr 2 09:02:57 PDT 2008


 > -       unsigned halign = ALIGN(wr->wr.ud.hlen, 16);
 > +       unsigned halign = ALIGN(wr->wr.ud.hlen + sizeof *wqe, 16);
 > 
 > 
 > -       if (unlikely(wr->wr.ud.hlen) > 60)
 > +       if (unlikely(halign > 64))

Sure, makes sense.



More information about the general mailing list