ibmvnic: Handle TSO backing device errata
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Mon, 12 Mar 2018 16:51:05 +0000 (11:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Mar 2018 14:09:28 +0000 (10:09 -0400)
commitf10b09ef687f3134c26027d2a38a9d4cd3bb9cb7
tree3b6f70150be0606cf1f3679a76fd01514c036c2f
parent1f247a6f9e5d1b5a1e57d66829ee52dbafac256f
ibmvnic: Handle TSO backing device errata

TSO packets with one segment or with an MSS less than 224 can
cause errors on some backing devices, so disable GSO in those cases.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c