diff options
| author | Jiri Pirko <[email protected]> | 2019-10-31 11:42:19 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-10-31 10:54:47 -0700 |
| commit | c3a64b5173e1416cf3d982b02e1c1b918382f701 (patch) | |
| tree | 80099f51d421e84811580c7672a7d1750b076653 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 013da297911830882611c4ae4764117dacf6713f (diff) | |
mlxsw: spectrum: Fix base port get for split count 4 and 8
The current code considers only split by 2 or 4. Make the base port
getting generic and allow split by 8 to be handled correctly. Generalize
the used port checks as well.
Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Shalom Toledo <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions