diff options
| author | Jiri Pirko <[email protected]> | 2022-04-18 09:42:40 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-04-18 11:00:19 +0100 |
| commit | 6445eef0f600b726da19b4d5885ebb25ba47f590 (patch) | |
| tree | f39f1c7670f50f7bc116f94f7550c5dc3323a72c /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 45bf3b7267e0264ff25f85ea46ba4628d39b69b4 (diff) | |
mlxsw: spectrum: Add port to linecard mapping
For each port get slot_index using PMLP register. For ports residing
on a linecard, identify it with the linecard by setting mapping
using devlink_port_linecard_set() helper. Use linecard slot index for
PMTDB register queries.
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions