diff mbox

[2/2] ARM: mvebu: disable IP checksum with jumbo frames for Armada 370

Message ID 1434378443-23029-3-git-send-email-simon.guinot@sequanux.org (mailing list archive)
State New, archived
Headers show

Commit Message

Simon Guinot June 15, 2015, 2:27 p.m. UTC
The Ethernet controller found in Armada 370 SoCs don't support TCP/IP
checksumming with frames largest than 1600 Bytes.

This patch sets accordingly the tx_csum_limit property in Ethernet nodes
for Armada 370.

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Cc: <stable@vger.kernel.org> # v3.8+
---
 arch/arm/boot/dts/armada-370.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
index 00b50db57c9c..046489df351d 100644
--- a/arch/arm/boot/dts/armada-370.dtsi
+++ b/arch/arm/boot/dts/armada-370.dtsi
@@ -307,6 +307,14 @@ 
 					dmacap,memset;
 				};
 			};
+
+			ethernet@70000 {
+				tx_csum_limit = <1600>;
+			};
+
+			ethernet@74000 {
+				tx_csum_limit = <1600>;
+			};
 		};
 	};
 };