Skip to content

Commit

Permalink
arm64: dts: stratix10: Support Ethernet Jumbo frame
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tthayer-intel authored and intel-lab-lkp committed Oct 22, 2018
1 parent 173ee39 commit 9f908a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@
reset-names = "stmmaceth", "stmmaceth-ocp";
clocks = <&clkmgr STRATIX10_EMAC0_CLK>;
clock-names = "stmmaceth";
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
status = "disabled";
};

Expand All @@ -150,6 +152,8 @@
reset-names = "stmmaceth", "stmmaceth-ocp";
clocks = <&clkmgr STRATIX10_EMAC1_CLK>;
clock-names = "stmmaceth";
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
status = "disabled";
};

Expand All @@ -163,6 +167,8 @@
reset-names = "stmmaceth", "stmmaceth-ocp";
clocks = <&clkmgr STRATIX10_EMAC2_CLK>;
clock-names = "stmmaceth";
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
status = "disabled";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
phy-mode = "rgmii";
phy-handle = <&phy0>;

max-frame-size = <3800>;
max-frame-size = <9000>;

mdio0 {
#address-cells = <1>;
Expand Down

0 comments on commit 9f908a0

Please sign in to comment.