s390/qeth: limit csum offload erratum to L3 devices
authorJulian Wiedmann <jwi@linux.ibm.com>
Mon, 17 Sep 2018 15:35:59 +0000 (17:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Sep 2018 16:10:25 +0000 (09:10 -0700)
commitf231dc9dbd789b0f98a15941e3cebedb4ad72ad5
treea5c9269ad860d6a4ef29a74338db39fa642106cd
parent40e6a2258492ee7082294be85eaca2b074241f23
s390/qeth: limit csum offload erratum to L3 devices

Combined L3+L4 csum offload is only required for some L3 HW. So for
L2 devices, don't offload the IP header csum calculation.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reference-ID: JUP 394553
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core.h
drivers/s390/net/qeth_l3_main.c