From: Sergei Shtylyov Date: Mon, 4 Feb 2019 18:12:39 +0000 (+0300) Subject: sh_eth: offload RX checksum on SH7763 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=997feb11b83bd1c3b0100587a773629cabb83ce2;p=openwrt%2Fstaging%2Fblogic.git sh_eth: offload RX checksum on SH7763 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 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 104a7dd9d5ea..339b2eae2100 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -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, };