From: Sergei Shtylyov Date: Mon, 4 Feb 2019 18:07:53 +0000 (+0300) Subject: sh_eth: offload RX checksum on R7S72100 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=48132cd0c6317701421df3232a77c0a642292859;p=linux.git sh_eth: offload RX checksum on R7S72100 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 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 4e3456bb37bbb..00cbca124302b 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -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, };