Skip to content

Commit 41433e3

Browse files
Sergei Shtylyovgregkh
authored andcommitted
sh_eth: R8A7740 supports packet shecksumming
[ Upstream commit 0f1f9cbc04dbb3cc310f70a11cba0cf1f2109d9c ] The R8A7740 GEther controller supports the packet checksum offloading but the 'hw_crc' (bad name, I'll fix it) flag isn't set in the R8A7740 data, thus CSMR isn't cleared... Fixes: 73a0d90 ("net: sh_eth: add support R8A7740") Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 50231ce commit 41433e3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/net/ethernet/renesas/sh_eth.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,7 @@ static struct sh_eth_cpu_data r8a7740_data = {
819819
.rpadir_value = 2 << 16,
820820
.no_trimd = 1,
821821
.no_ade = 1,
822+
.hw_crc = 1,
822823
.tsu = 1,
823824
.select_mii = 1,
824825
.shift_rd0 = 1,

0 commit comments

Comments
 (0)