From: Sergei Shtylyov Date: Mon, 4 Feb 2019 18:10:32 +0000 (+0300) Subject: sh_eth: offload RX checksum on R8A77980 X-Git-Tag: v5.15~6918^2~355^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0da843adeefb4953a1a73a24d5a8dfbbffcd9a47;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index b96f252..8733afe 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,