sh_eth: offload RX checksum on R7S72100
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 4 Feb 2019 18:07:53 +0000 (21:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2019 21:31:00 +0000 (13:31 -0800)
The RZ/A1H (R7S721000) SoC manual describes the Ether MAC's RX checksum
offload the same way as it's implemented in the EtherAVB MACs...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c

index 4e3456bb37bbb2b3bdd67078ed513ed2ab0dfa5b..00cbca124302ba6f2644656aa81a1ad4604f5e12 100644 (file)
@@ -620,6 +620,7 @@ static struct sh_eth_cpu_data r7s72100_data = {
        .no_ade         = 1,
        .xdfar_rw       = 1,
        .csmr           = 1,
+       .rx_csum        = 1,
        .tsu            = 1,
        .no_tx_cntrs    = 1,
 };