[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210730171815.1773287-1-vladimir.oltean@nxp.com>
Date: Fri, 30 Jul 2021 20:18:09 +0300
From: Vladimir Oltean <vladimir.oltean@....com>
To: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>
Cc: Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
Vivien Didelot <vivien.didelot@...il.com>
Subject: [PATCH net 0/6] FDB fixes for NXP SJA1105
I have some upcoming patches that make heavy use of statically installed
FDB entries, and when testing them on SJA1105P/Q/R/S and SJA1110, it
became clear that these switches do not behave reliably at all.
- On SJA1110, a static FDB entry cannot be installed at all
- On SJA1105P/Q/R/S, it is very picky about the inner/outer VLAN type
- Dynamically learned entries will make us not install static ones, or
even if we do, they might not take effect
Patch 5/6 has a conflict with net-next (sorry), the commit message of
that patch describes how to deal with it. Thanks.
Vladimir Oltean (6):
net: dsa: sja1105: fix static FDB writes for SJA1110
net: dsa: sja1105: overwrite dynamic FDB entries with static ones in
.port_fdb_add
net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently
with statically added ones
net: dsa: sja1105: ignore the FDB entry for unknown multicast when
adding a new address
net: dsa: sja1105: be stateless with FDB entries on
SJA1105P/Q/R/S/SJA1110 too
net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN
tag
.../net/dsa/sja1105/sja1105_dynamic_config.c | 27 +++---
drivers/net/dsa/sja1105/sja1105_main.c | 94 ++++++++++++++-----
2 files changed, 84 insertions(+), 37 deletions(-)
--
2.25.1
Powered by blists - more mailing lists