sh_eth: offload RX checksum on SH7734
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 4 Feb 2019 18:11:32 +0000 (21:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2019 21:31:00 +0000 (13:31 -0800)
The SH7734 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 8733afe764b434ef52c0d5834ea92f2f7744415e..104a7dd9d5ea86f07d9f33b64c95cf35220ed1b6 100644 (file)
@@ -1049,6 +1049,7 @@ static struct sh_eth_cpu_data sh7734_data = {
        .xdfar_rw       = 1,
        .tsu            = 1,
        .csmr           = 1,
+       .rx_csum        = 1,
        .select_mii     = 1,
        .magic          = 1,
        .cexcr          = 1,