On Fr, 2018-10-05 at 10:25 +0000, Igor Russkikh wrote: > From: Dmitry Bezrukov <dmitry.bezru...@aquantia.com> > > Signed-off-by: Dmitry Bezrukov <dmitry.bezru...@aquantia.com> > Signed-off-by: Igor Russkikh <igor.russk...@aquantia.com> > --- > drivers/net/usb/aqc111.c | 3 +++ > drivers/net/usb/aqc111.h | 6 ++++-- > 2 files changed, 7 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/usb/aqc111.c b/drivers/net/usb/aqc111.c > index 6efd9a9ad44e..f61fa7446b72 100644 > --- a/drivers/net/usb/aqc111.c > +++ b/drivers/net/usb/aqc111.c > @@ -964,6 +964,9 @@ static struct sk_buff *aqc111_tx_fixup(struct usbnet > *dev, struct sk_buff *skb, > /*Length of actual data*/ > tx_hdr.length = (skb->len & 0x1FFFFF); > > + /* TSO MSS */ > + tx_hdr.max_seg_size = skb_shinfo(skb)->gso_size;
Endianness > + > headroom = (skb->len + AQ_TX_HEADER_SIZE) % 8; > if (headroom != 0) > padding_size = 8 - headroom; Regards Oliver