All of lore.kernel.org
 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

* Re: [PATCH] sh_eth: R8A7740 supports packet shecksumming
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2017-01-05  9:33 UTC (permalink / raw)
  To: netdev, linux-renesas-soc, David Miller

Hello!

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

MBR, Sergei

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

* Re: [PATCH] sh_eth: R8A7740 supports packet shecksumming
  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
  1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2017-01-06 20:35 UTC (permalink / raw)
  To: sergei.shtylyov; +Cc: netdev, linux-renesas-soc

From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date: Thu, 05 Jan 2017 00:29:32 +0300

> 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>

Applied.

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

* Re: [PATCH] sh_eth: R8A7740 supports packet shecksumming
  2017-01-05  9:33 ` Sergei Shtylyov
@ 2017-01-06 20:35   ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2017-01-06 20:35 UTC (permalink / raw)
  To: sergei.shtylyov; +Cc: netdev, linux-renesas-soc

From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date: Thu, 5 Jan 2017 12:33:21 +0300

>    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 :-)

^ 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.