diff options
author | Vladimir Oltean <[email protected]> | 2021-10-22 21:43:08 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-10-24 13:47:44 +0100 |
commit | 49753a75b9a32de4c0393bb8d1e51ea223fda8e4 (patch) | |
tree | be8a8628faea239788f25e13da18bba606187319 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | f239934cffe5e6ebd4ad55fb643a526eb4774a31 (diff) |
net: dsa: lantiq_gswip: serialize access to the PCE table
Looking at the code, the GSWIP switch appears to hold bridging service
structures (VLANs, FDBs, forwarding rules) in PCE table entries.
Hardware access to the PCE table is non-atomic, and is comprised of
several register reads and writes.
These accesses are currently serialized by the rtnl_lock, but DSA is
changing its driver API and that lock will no longer be held when
calling ->port_fdb_add() and ->port_fdb_del().
So this driver needs to serialize the access to the PCE table using its
own locking scheme. This patch adds that.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Acked-by: Hauke Mehrtens <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions