]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
arm64: dts: stratix10: Support Ethernet Jumbo frame
authorThor Thayer <thor.thayer@linux.intel.com>
Mon, 22 Oct 2018 22:22:25 +0000 (17:22 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2018 03:22:59 +0000 (20:22 -0700)
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>
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts

index d033da401c268a79290708569a3ba92566657edd..8a2641c742ae6cdff9510e75447668c9cc4c38c2 100644 (file)
                        reset-names = "stmmaceth", "stmmaceth-ocp";
                        clocks = <&clkmgr STRATIX10_EMAC0_CLK>;
                        clock-names = "stmmaceth";
+                       tx-fifo-depth = <16384>;
+                       rx-fifo-depth = <16384>;
                        status = "disabled";
                };
 
                        reset-names = "stmmaceth", "stmmaceth-ocp";
                        clocks = <&clkmgr STRATIX10_EMAC1_CLK>;
                        clock-names = "stmmaceth";
+                       tx-fifo-depth = <16384>;
+                       rx-fifo-depth = <16384>;
                        status = "disabled";
                };
 
                        reset-names = "stmmaceth", "stmmaceth-ocp";
                        clocks = <&clkmgr STRATIX10_EMAC2_CLK>;
                        clock-names = "stmmaceth";
+                       tx-fifo-depth = <16384>;
+                       rx-fifo-depth = <16384>;
                        status = "disabled";
                };
 
index 6edc4fa9fd42683e12f1de2eb4ac3d9732255e44..7c661753bfaf4fade78932fd7de9754c28ddaddd 100644 (file)
@@ -76,7 +76,7 @@
        phy-mode = "rgmii";
        phy-handle = <&phy0>;
 
-       max-frame-size = <3800>;
+       max-frame-size = <9000>;
 
        mdio0 {
                #address-cells = <1>;