Skip to contentSkip to conversation

sh_eth: R8A7740 supports packet shecksumming

PATCH Applied Sergei Shtylyov 2 participants 4 messages Jan 4, 2017 – Jan 6, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh_eth: R8A7740 supports packet shecksumming

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 73a0d907301e ("net: sh_eth: add support R8A7740")

---
This patch is against DaveM's 'net.git' repo plus the fixes sent recently...

 drivers/net/ethernet/renesas/sh_eth.c |    1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/renesas/sh_eth.c +1 -0
Index: net/drivers/net/ethernet/renesas/sh_eth.c
===================================================================
@@ -574,6 +574,7 @@ static struct sh_eth_cpu_data r8a7740_da
 	.rpadir_value   = 2 << 16,
 	.no_trimd	= 1,
 	.no_ade		= 1,
+	.hw_crc		= 1,
 	.tsu		= 1,
 	.select_mii	= 1,
 	.shift_rd0	= 1,
#1 lore raw

Hello!

Oops, typo in the subject, "shecksumming". David, should I resend?

MBR, Sergei

maintainer
#2 lore raw
In reply to Sergei Shtylyov

From: Sergei Shtylyov <[email protected]>
Date: Thu, 5 Jan 2017 12:33:21 +0300

Quoted 1 line

Oops, typo in the subject, "shecksumming". David, should I resend?

I accidently pushed this out without fixing the typo, sorry about that but that's going to be how it is I'm afraid :-)