aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2020-04-19 10:01:05 +0300
committerDavid S. Miller <[email protected]>2020-04-20 11:57:33 -0700
commitcec2500d44751a7782d16ce99fca104e77e324a5 (patch)
treec4f4e3881e7409f3ea6450368f5d4e41522da01e /tools/perf/scripts/python/syscall-counts.py
parentc290d1ab12d3385da1d7be909e6b09caea3325bb (diff)
mlxsw: spectrum_router: Re-increase scale of IPv6 nexthop groups
As explained in commit fc25996e6f46 ("mlxsw: spectrum_router: Increase scale of IPv6 nexthop groups"), each nexthop group is hashed by XOR-ing the interface indexes of all the member nexthop devices. To avoid many different nexthop groups ending up using the same key, the above commit started hashing the interface indexes themselves before they are XOR-ed. However, in cases in which there are many nexthop groups that all use the same nexthop device and only differ in the gateway IP, we can still end up in a situation in which all the groups are using the same key. This eventually leads to -EBUSY error from rhashtable during insertion. Improve the situation by also making the gateway IP part of the key. Signed-off-by: Ido Schimmel <[email protected]> Reported-by: Alex Veber <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Tested-by: Alex Veber <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions