summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2019-02-04 21:10:32 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-04 13:31:00 -0800
commit0da843adeefb4953a1a73a24d5a8dfbbffcd9a47 (patch)
treeea9caa02bbd2fa9df57bcb30fea4d4ce136b8238
parent040c16fd5974a947bcfb2fe2e66fe4f42eeef08a (diff)
downloadlinux-0da843adeefb4953a1a73a24d5a8dfbbffcd9a47.tar.bz2
sh_eth: offload RX checksum on R8A77980
The R-Car V3H (R8A77980) SoC manual describes the Ether MAC's RX checksum offload the same way as it's implemented in the EtherAVB MAC... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/renesas/sh_eth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c
index b96f25230f2e..8733afe764b4 100644
--- a/drivers/net/ethernet/renesas/sh_eth.c
+++ b/drivers/net/ethernet/renesas/sh_eth.c
@@ -796,6 +796,7 @@ static struct sh_eth_cpu_data r8a77980_data = {
.no_ade = 1,
.xdfar_rw = 1,
.csmr = 1,
+ .rx_csum = 1,
.select_mii = 1,
.magic = 1,
.cexcr = 1,