]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: stratix10: Support Ethernet Jumbo frame
authorThor Thayer <thor.thayer@linux.intel.com>
Mon, 12 Nov 2018 20:50:21 +0000 (14:50 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:22:00 +0000 (09:22 +0100)
commit a27460c9768ee19949c5b91f3d959ccd88c2a64a upstream

Properly specify the RX and TX FIFO size which is important
for Jumbo frames.
Update the max-frame-size to support Jumbo frames.

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts

index 3989876ab69913976d8213971524708befa04a59..22f88188b0f54e05efe0a536b369e188bab1e33d 100644 (file)
                        reset-names = "stmmaceth";
                        clocks = <&clkmgr STRATIX10_EMAC0_CLK>;
                        clock-names = "stmmaceth";
+                       tx-fifo-depth = <16384>;
+                       rx-fifo-depth = <16384>;
                        status = "disabled";
                };
 
                        reset-names = "stmmaceth";
                        clocks = <&clkmgr STRATIX10_EMAC1_CLK>;
                        clock-names = "stmmaceth";
+                       tx-fifo-depth = <16384>;
+                       rx-fifo-depth = <16384>;
                        status = "disabled";
                };
 
                        reset-names = "stmmaceth";
                        clocks = <&clkmgr STRATIX10_EMAC2_CLK>;
                        clock-names = "stmmaceth";
+                       tx-fifo-depth = <16384>;
+                       rx-fifo-depth = <16384>;
                        status = "disabled";
                };
 
index f9b1ef12db4859daeb551bc04ddc6bf9e961f09a..fb1b9ddd9f51252124491d002441a716fb07bcad 100644 (file)
@@ -76,7 +76,7 @@
        phy-mode = "rgmii";
        phy-handle = <&phy0>;
 
-       max-frame-size = <3800>;
+       max-frame-size = <9000>;
 
        mdio0 {
                #address-cells = <1>;