Thread (1 message) 1 message, 1 author, 2015-11-27

[PATCH v3 net 6/6] net: mvneta: enable IP checksum with jumbo frames for Armada 38x on Port0

From: Gregory CLEMENT <hidden>
Date: 2015-11-27 16:29:23
Also in: lkml, netdev

Hi Marcin,
 
 On ven., nov. 27 2015, Marcin Wojtas [off-list ref] wrote:
The Ethernet controller found in the Armada 38x SoC's family support
TCP/IP checksumming with frame sizes larger than 1600 bytes, however
only on port 0.

This commit enables it by setting 'tx-csum-limit' to 9800B in
'ethernet at 70000' node.

Signed-off-by: Marcin Wojtas <redacted>
---
 arch/arm/boot/dts/armada-38x.dtsi | 1 +
This commit should not be merged through the network subsystem but
through mvebu and then arm-soc.

Indeed we tried to centralize all the dts change in only one subsystem
to reduce the merge conflict.

Could you rename it in "mvebu: dts: enable IP checksum with jumbo frames
for Armada 38x on Port0" ?

I will applied on in mvebu/dts as soon as the network part will be
applied.

Thanks,

Gregory

quoted hunk
 1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index c6a0e9d..e8b7f67 100644
--- a/arch/arm/boot/dts/armada-38x.dtsi
+++ b/arch/arm/boot/dts/armada-38x.dtsi
@@ -498,6 +498,7 @@
 				reg = <0x70000 0x4000>;
 				interrupts-extended = <&mpic 8>;
 				clocks = <&gateclk 4>;
+				tx-csum-limit = <9800>;
 				status = "disabled";
 			};
 
-- 
1.8.3.1
-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help