diff options
author | Jiri Pirko <jiri@mellanox.com> | 2016-09-01 11:37:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-01 19:44:55 +0300 |
commit | 5b004412e2b7894105ea6043d380b7ab21f244ef (patch) | |
tree | 5140a78bb8f37a9c6e3703fa59416a8cf90bc199 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | c3804289c90c1c88e447991c4c06cff6acdee7bc (diff) | |
download | linux-5b004412e2b7894105ea6043d380b7ab21f244ef.tar.xz |
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 <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions