From: Sergei Shtylyov Date: Mon, 4 Feb 2019 18:11:32 +0000 (+0300) Subject: sh_eth: offload RX checksum on SH7734 X-Git-Tag: v5.1-rc1~178^2~355^2~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=06240e1b526d426acfe7b21e673da49e12f5a225;p=linux-block.git sh_eth: offload RX checksum on SH7734 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 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 8733afe764b4..104a7dd9d5ea 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -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,