sh_eth: offload RX checksum on SH7763
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 4 Feb 2019 18:12:39 +0000 (21:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2019 21:31:00 +0000 (13:31 -0800)
The SH7763 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 104a7dd9d5ea86f07d9f33b64c95cf35220ed1b6..339b2eae21006d1983c45ae38042093279e5001a 100644 (file)
@@ -1092,6 +1092,7 @@ static struct sh_eth_cpu_data sh7763_data = {
        .irq_flags      = IRQF_SHARED,
        .magic          = 1,
        .cexcr          = 1,
+       .rx_csum        = 1,
        .dual_port      = 1,
 };