projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06240e1
)
sh_eth: offload RX checksum on SH7763
author
Sergei Shtylyov
<
[email protected]
>
Mon, 4 Feb 2019 18:12:39 +0000
(21:12 +0300)
committer
David S. Miller
<
[email protected]
>
Mon, 4 Feb 2019 21:31:00 +0000
(13:31 -0800)
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/renesas/sh_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/renesas/sh_eth.c
b/drivers/net/ethernet/renesas/sh_eth.c
index 104a7dd9d5ea86f07d9f33b64c95cf35220ed1b6..339b2eae21006d1983c45ae38042093279e5001a 100644
(file)
--- 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,
};