From df34c845a5a29bdca6efdf4245e95329995dfb9a Mon Sep 17 00:00:00 2001 From: Sergei Shtylyov Date: Mon, 4 Feb 2019 21:12:39 +0300 Subject: [PATCH 092/211] 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 (cherry picked from commit 997feb11b83bd1c3b0100587a773629cabb83ce2) Signed-off-by: Valentine Barshak --- drivers/net/ethernet/renesas/sh_eth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index 95fd30b..f969aa4 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -1063,6 +1063,7 @@ static struct sh_eth_cpu_data sh7763_data = { .irq_flags = IRQF_SHARED, .magic = 1, .cexcr = 1, + .rx_csum = 1, .dual_port = 1, }; -- 2.7.4