]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 15 Oct 2021 09:27:31 +0000 (11:27 +0200)
commitbedd5336ad3b4bfb94d584942d840406e46bece4
treea3c43f5e5a99e22f4185965207fa9865fde809ad
parentcaf8510b71fdf447911fbe87d501c9456086f211
net: qualcomm: fix QCA7000 checksum handling

BugLink: https://bugs.launchpad.net/bugs/1946788
[ Upstream commit 429205da6c834447a57279af128bdd56ccd5225e ]

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: 291ab06ecf67 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/net/ethernet/qualcomm/qca_spi.c
drivers/net/ethernet/qualcomm/qca_uart.c