From: Thor Thayer <thor.tha...@linux.intel.com>

commit 273dce368d19982f65abe8bdced67f4218f03c06 from
https://github.com/altera-opensource/linux-socfpga.git

[backport 'commit a27460c9768e ("arm64: dts: stratix10: Support
                                 Ethernet Jumbo frame")']

Backported from net-next/master

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.tha...@linux.intel.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Meng Li <meng...@windriver.com>
---
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi      | 6 ++++++
 arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi 
b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
index 9a7c50b..84d2722 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
@@ -162,6 +162,8 @@
                        reset-names = "stmmaceth", "stmmaceth-ocp";
                        clocks = <&clkmgr STRATIX10_EMAC0_CLK>;
                        clock-names = "stmmaceth";
+                       tx-fifo-depth = <16384>;
+                       rx-fifo-depth = <16384>;
                        status = "disabled";
                };
 
@@ -175,6 +177,8 @@
                        reset-names = "stmmaceth", "stmmaceth-ocp";
                        clocks = <&clkmgr STRATIX10_EMAC1_CLK>;
                        clock-names = "stmmaceth";
+                       tx-fifo-depth = <16384>;
+                       rx-fifo-depth = <16384>;
                        status = "disabled";
                };
 
@@ -188,6 +192,8 @@
                        reset-names = "stmmaceth", "stmmaceth-ocp";
                        clocks = <&clkmgr STRATIX10_EMAC2_CLK>;
                        clock-names = "stmmaceth";
+                       tx-fifo-depth = <16384>;
+                       rx-fifo-depth = <16384>;
                        status = "disabled";
                };
 
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts 
b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
index 86dc7529..444402f 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
@@ -92,7 +92,7 @@
        phy-mode = "rgmii";
        phy-handle = <&phy0>;
 
-       max-frame-size = <3800>;
+       max-frame-size = <9000>;
        snps,multicast-filter-bins = <256>;
 
        mdio0 {
-- 
2.7.4

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to