diff mbox

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

Message ID 1448639066-13074-7-git-send-email-mw@semihalf.com (mailing list archive)
State New, archived
Headers show

Commit Message

Marcin Wojtas Nov. 27, 2015, 3:44 p.m. UTC
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@70000' node.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
---
 arch/arm/boot/dts/armada-38x.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Gregory CLEMENT Nov. 27, 2015, 4:29 p.m. UTC | #1
Hi Marcin,
 
 On ven., nov. 27 2015, Marcin Wojtas <mw@semihalf.com> 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@70000' node.
>
> Signed-off-by: Marcin Wojtas <mw@semihalf.com>
> ---
>  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


>  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
>
diff mbox

Patch

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";
 			};