Linux Renesas SOC kernel development
 help / color / mirror / Atom feed
* [PATCH] sh_eth: R8A7740 supports packet shecksumming
@ 2017-01-04 21:29 Sergei Shtylyov
  2017-01-05  9:33 ` Sergei Shtylyov
  2017-01-06 20:35 ` David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2017-01-04 21:29 UTC (permalink / raw)
  To: netdev, linux-renesas-soc

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")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
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(+)

Index: net/drivers/net/ethernet/renesas/sh_eth.c
===================================================================
--- net.orig/drivers/net/ethernet/renesas/sh_eth.c
+++ 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,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-06 20:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-04 21:29 [PATCH] sh_eth: R8A7740 supports packet shecksumming Sergei Shtylyov
2017-01-05  9:33 ` Sergei Shtylyov
2017-01-06 20:35   ` David Miller
2017-01-06 20:35 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox