arm64: dts: stratix10: Support Ethernet Jumbo frame

commit a27460c976 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>
This commit is contained in:
Thor Thayer 2018-11-12 14:50:21 -06:00 committed by Greg Kroah-Hartman
parent 08261cada1
commit 8f49fe42dd
2 changed files with 7 additions and 1 deletions

View File

@ -137,6 +137,8 @@ gmac0: ethernet@ff800000 {
reset-names = "stmmaceth", "stmmaceth-ocp";
clocks = <&clkmgr STRATIX10_EMAC0_CLK>;
clock-names = "stmmaceth";
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
status = "disabled";
};
@ -150,6 +152,8 @@ gmac1: ethernet@ff802000 {
reset-names = "stmmaceth", "stmmaceth-ocp";
clocks = <&clkmgr STRATIX10_EMAC1_CLK>;
clock-names = "stmmaceth";
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
status = "disabled";
};
@ -163,6 +167,8 @@ gmac2: ethernet@ff804000 {
reset-names = "stmmaceth", "stmmaceth-ocp";
clocks = <&clkmgr STRATIX10_EMAC2_CLK>;
clock-names = "stmmaceth";
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
status = "disabled";
};

View File

@ -76,7 +76,7 @@ &gmac0 {
phy-mode = "rgmii";
phy-handle = <&phy0>;
max-frame-size = <3800>;
max-frame-size = <9000>;
mdio0 {
#address-cells = <1>;