diff options
| author | Alexander Sverdlin <alexander.sverdlin@siemens.com> | 2023-05-31 16:38:26 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-14 11:15:16 +0200 |
| commit | 332f36a09c4c8035c3365ddc7dd64eee280c483c (patch) | |
| tree | 0c9614f3a5591137088875e21c39af50b1fa2a28 /include/net/ping.h | |
| parent | 8af3119388c432b0133a068185b7664f24da4495 (diff) | |
| download | linux-332f36a09c4c8035c3365ddc7dd64eee280c483c.tar.gz linux-332f36a09c4c8035c3365ddc7dd64eee280c483c.tar.bz2 linux-332f36a09c4c8035c3365ddc7dd64eee280c483c.zip | |
net: dsa: lan9303: allow vid != 0 in port_fdb_{add|del} methods
[ Upstream commit 5a59a58ec25d44f853c26bdbfda47d73b3067435 ]
LAN9303 doesn't associate FDB (ALR) entries with VLANs, it has just one
global Address Logic Resolution table [1].
Ignore VID in port_fdb_{add|del} methods, go on with the global table. This
is the same semantics as hellcreek or RZ/N1 implement.
Visible symptoms:
LAN9303_MDIO 5b050000.ethernet-1:00: port 2 failed to delete 00:xx:xx:xx:xx:cf vid 1 from fdb: -2
LAN9303_MDIO 5b050000.ethernet-1:00: port 2 failed to add 00:xx:xx:xx:xx:cf vid 1 to fdb: -95
[1] https://ww1.microchip.com/downloads/en/DeviceDoc/00002308A.pdf
Fixes: 0620427ea0d6 ("net: dsa: lan9303: Add fdb/mdb manipulation")
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20230531143826.477267-1-alexander.sverdlin@siemens.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/ping.h')
0 files changed, 0 insertions, 0 deletions
