All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: stratix10: fix multicast filtering
@ 2018-11-02 10:54 Koskinen, Aaro (Nokia - FI/Espoo)
  2018-11-02 11:04 ` Koskinen, Aaro (Nokia - FI/Espoo)
  0 siblings, 1 reply; 2+ messages in thread
From: Koskinen, Aaro (Nokia - FI/Espoo) @ 2018-11-02 10:54 UTC (permalink / raw)
  To: Dinh Nguyen, Thor Thayer, Rob Herring, Mark Rutland
  Cc: devicetree, linux-kernel, netdev, Koskinen, Aaro (Nokia - FI/Espoo)

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(+)

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";
 		};
 
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] arm64: dts: stratix10: fix multicast filtering
  2018-11-02 10:54 [PATCH] arm64: dts: stratix10: fix multicast filtering Koskinen, Aaro (Nokia - FI/Espoo)
@ 2018-11-02 11:04 ` Koskinen, Aaro (Nokia - FI/Espoo)
  0 siblings, 0 replies; 2+ messages in thread
From: Koskinen, Aaro (Nokia - FI/Espoo) @ 2018-11-02 11:04 UTC (permalink / raw)
  To: Dinh Nguyen, Thor Thayer, Rob Herring, Mark Rutland
  Cc: devicetree, linux-kernel, netdev

Hi,

Please don't apply this - looks like the company SMTP server mangled the From
header. I'll try to send v2 with a workaround.

A.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-02 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-02 10:54 [PATCH] arm64: dts: stratix10: fix multicast filtering Koskinen, Aaro (Nokia - FI/Espoo)
2018-11-02 11:04 ` Koskinen, Aaro (Nokia - FI/Espoo)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.