Skip to content

Commit fd5ba6e

Browse files
aakoskinDinh Nguyen
authored andcommitted
arm64: dts: stratix10: fix multicast filtering
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: 78cd6a9 ("arm64: dts: Add base stratix 10 dtsi") Cc: stable@vger.kernel.org Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
1 parent 6510223 commit fd5ba6e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
clock-names = "stmmaceth";
140140
tx-fifo-depth = <16384>;
141141
rx-fifo-depth = <16384>;
142+
snps,multicast-filter-bins = <256>;
142143
status = "disabled";
143144
};
144145

@@ -154,6 +155,7 @@
154155
clock-names = "stmmaceth";
155156
tx-fifo-depth = <16384>;
156157
rx-fifo-depth = <16384>;
158+
snps,multicast-filter-bins = <256>;
157159
status = "disabled";
158160
};
159161

@@ -169,6 +171,7 @@
169171
clock-names = "stmmaceth";
170172
tx-fifo-depth = <16384>;
171173
rx-fifo-depth = <16384>;
174+
snps,multicast-filter-bins = <256>;
172175
status = "disabled";
173176
};
174177

0 commit comments

Comments
 (0)