[linux-yocto] [PATCH 7/8] arm64: dts: stratix10: fix multicast filtering
Meng.Li at windriver.com
Meng.Li at windriver.com
Thu Nov 22 01:08:51 PST 2018
From: Aaro Koskinen <aaro.koskinen at nokia.com>
commit 2f43a510fc1190bec012c9c73102baf70d1be6cb from
https://github.com/altera-opensource/linux-socfpga.git
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")
Cc: stable at vger.kernel.org
Signed-off-by: Aaro Koskinen <aaro.koskinen at nokia.com>
Signed-off-by: Dinh Nguyen <dinguyen at kernel.org>
(cherry picked from commit fd5ba6ee3187617287fb9cb187e3d6b3631210a3)
Signed-off-by: Meng Li <Meng.Li at windriver.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 84d2722..a5838a0 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
@@ -164,6 +164,7 @@
clock-names = "stmmaceth";
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
+ snps,multicast-filter-bins = <256>;
status = "disabled";
};
@@ -179,6 +180,7 @@
clock-names = "stmmaceth";
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
+ snps,multicast-filter-bins = <256>;
status = "disabled";
};
@@ -194,6 +196,7 @@
clock-names = "stmmaceth";
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
+ snps,multicast-filter-bins = <256>;
status = "disabled";
};
--
2.7.4
More information about the linux-yocto
mailing list