diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2019-02-04 21:08:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-04 13:31:00 -0800 |
commit | 040c16fd5974a947bcfb2fe2e66fe4f42eeef08a (patch) | |
tree | 5eadc0e1d5a7c4611dd63ef0cba3d610b05d16ae /drivers | |
parent | 48132cd0c6317701421df3232a77c0a642292859 (diff) | |
download | linux-040c16fd5974a947bcfb2fe2e66fe4f42eeef08a.tar.bz2 |
sh_eth: offload RX checksum on R8A7740
The R-Mobile A1 (R8A7740) 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>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.c | 1 |
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 00cbca124302..b96f25230f2e 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -670,6 +670,7 @@ static struct sh_eth_cpu_data r8a7740_data = { .no_ade = 1, .xdfar_rw = 1, .csmr = 1, + .rx_csum = 1, .tsu = 1, .select_mii = 1, .magic = 1, |