]> git.baikalelectronics.ru Git - kernel.git/commit
net: qualcomm: fix QCA7000 checksum handling
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 28 Aug 2021 14:23:15 +0000 (16:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Aug 2021 10:28:02 +0000 (11:28 +0100)
commit5c208dd24f1b8c18d092dc7b375abcfcaeb08f0d
tree69fe615c6021736bb3ba5b7a7c4533449ca153e9
parent9e21478ca9a71a0cd1df2d5c5b4c089b9a50a8ea
net: qualcomm: fix QCA7000 checksum handling

Based on tests the QCA7000 doesn't support checksum offloading. So assume
ip_summed is CHECKSUM_NONE and let the kernel take care of the checksum
handling. This fixes data transfer issues in noisy environments.

Reported-by: Michael Heimpold <michael.heimpold@in-tech.com>
Fixes: a93f2da6615c ("net: qualcomm: new Ethernet over SPI driver for QCA7000")
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/qca_spi.c
drivers/net/ethernet/qualcomm/qca_uart.c