aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2016-09-01 10:37:40 +0200
committerDavid S. Miller <[email protected]>2016-09-01 09:44:55 -0700
commit5b004412e2b7894105ea6043d380b7ab21f244ef (patch)
tree5140a78bb8f37a9c6e3703fa59416a8cf90bc199 /tools/perf/scripts/python/sctop.py
parentc3804289c90c1c88e447991c4c06cff6acdee7bc (diff)
mlxsw: spectrum_router: Fix failure caused by double fib removal from HW
In mlxsw we squash tables 254 and 255 together into HW. Kernel adds/dels /32 ip to/from both 254 and 255. On del path, that causes the same prefix being removed twice. Fix this by introducing reference counting for private mlxsw fib entries. That required a bit of code reshuffle. Also put dev into fib entry key so the same prefix could be represented once per every router interface. Fixes: 61c503f976b5 ("mlxsw: spectrum_router: Implement fib4 add/del switchdev obj ops") Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions