From: Simon Guinot <simon.guinot@sequanux.org>
To: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
Jason Cooper <jason@lakedaemon.net>, Andrew Lunn <andrew@lunn.ch>,
Gregory Clement <gregory.clement@free-electrons.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: netdev@vger.kernel.org, stable@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: mvebu: disable IP checksum with jumbo frames for Armada 370
Date: Mon, 15 Jun 2015 16:27:23 +0200 [thread overview]
Message-ID: <1434378443-23029-3-git-send-email-simon.guinot@sequanux.org> (raw)
In-Reply-To: <1434378443-23029-1-git-send-email-simon.guinot@sequanux.org>
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 --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>;
+ };
};
};
};
--
2.1.4
prev parent reply other threads:[~2015-06-15 14:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-15 14:27 [PATCH 0/2] Fix Ethernet jumbo frames support for Armada 370 Simon Guinot
2015-06-15 14:27 ` [PATCH 1/2] net: mvneta: introduce tx_csum_limit property Simon Guinot
2015-06-15 14:36 ` Russell King - ARM Linux
2015-06-15 14:48 ` Thomas Petazzoni
2015-06-15 14:49 ` Thomas Petazzoni
2015-06-15 15:54 ` Simon Guinot
2015-06-16 10:00 ` Thomas Petazzoni
2015-06-16 11:59 ` Jason Cooper
2015-06-15 14:27 ` Simon Guinot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1434378443-23029-3-git-send-email-simon.guinot@sequanux.org \
--to=simon.guinot@sequanux.org \
--cc=andrew@lunn.ch \
--cc=gregory.clement@free-electrons.com \
--cc=jason@lakedaemon.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=netdev@vger.kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=stable@vger.kernel.org \
--cc=thomas.petazzoni@free-electrons.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).