diff mbox series

[v2] arm64: dts: stratix10: fix multicast filtering

Message ID 20181102111258.18748-1-aaro.koskinen@nokia.com
State Rejected, archived
Headers show
Series [v2] arm64: dts: stratix10: fix multicast filtering | expand

Commit Message

Koskinen, Aaro (Nokia - FI/Espoo) Nov. 2, 2018, 11:13 a.m. UTC
From: Aaro Koskinen <aaro.koskinen+linux@nokia.com>

From: Aaro Koskinen <aaro.koskinen@nokia.com>

On Stratix 10, the EMAC has 256 hash buckets for multicast filtering. This
needs to be specified in DTS, otherwise the stmmac driver defaults to 64
buckets and initializes the filter incorrectly. As a result, e.g. valid
IPv6 multicast traffic ends up being dropped.

Fixes: 78cd6a9d8e15 ("arm64: dts: Add base stratix 10 dtsi")
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
---
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 3 +++
 1 file changed, 3 insertions(+)

	v2: Provide a correct From: due to SMTP server issue.

Comments

Koskinen, Aaro (Nokia - FI/Espoo) Nov. 2, 2018, 11:24 a.m. UTC | #1
Hi,

> From: Aaro Koskinen <aaro.koskinen@nokia.com>

This is the correct one, but unfortunately both git-send-email and
my SMTP server are trying to be too clever and prevents me sending
the patch in correct format. :-(

A.
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
index 8253a1a9e985..fef7351e9f67 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
@@ -139,6 +139,7 @@ 
 			clock-names = "stmmaceth";
 			tx-fifo-depth = <16384>;
 			rx-fifo-depth = <16384>;
+			snps,multicast-filter-bins = <256>;
 			status = "disabled";
 		};
 
@@ -154,6 +155,7 @@ 
 			clock-names = "stmmaceth";
 			tx-fifo-depth = <16384>;
 			rx-fifo-depth = <16384>;
+			snps,multicast-filter-bins = <256>;
 			status = "disabled";
 		};
 
@@ -169,6 +171,7 @@ 
 			clock-names = "stmmaceth";
 			tx-fifo-depth = <16384>;
 			rx-fifo-depth = <16384>;
+			snps,multicast-filter-bins = <256>;
 			status = "disabled";
 		};