be2net: fix TSO6/GSO issue causing TX-stall on Lancer/BEx
authorSuresh Reddy <suresh.reddy@broadcom.com>
Wed, 13 Sep 2017 15:12:42 +0000 (11:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Sep 2017 16:28:18 +0000 (09:28 -0700)
commit822f8565c93949fb2d31502d595c8bc45629c9b7
treee2888d7957fff4d01afefe8f02e78e854fd632b8
parent854426ef359c52bdf7087bc20c8d9105d075ca29
be2net: fix TSO6/GSO issue causing TX-stall on Lancer/BEx

IPv6 TSO requests with extension hdrs are a problem to the
Lancer and BEx chips. Workaround is to disable TSO6 feature
for such packets.

Also in Lancer chips, MSS less than 256 was resulting in TX stall.
Fix this by disabling GSO when MSS less than 256.

Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_main.c