diff options
author | Jiri Pirko <[email protected]> | 2021-09-14 09:13:25 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-09-14 12:44:16 +0100 |
commit | fec2386162d1625ef4a436e1dced27e235d5c181 (patch) | |
tree | 8a2d366269e374c04ef14733fc285eef90378b6f /tools/perf/scripts/python/check-perf-trace.py | |
parent | 13eb056ee58ba2437c0d358cb2dff17ef9056cfb (diff) |
mlxsw: spectrum: Move port SWID set before core port init
During port creation, mlxsw_core_port_init() is called with the front
panel port number and the split port sub-number. Currently, this
information is determined by the driver without firmware assistance.
Subsequent patches are going to query this information from firmware,
but this requires the port to assigned to SWID.
Therefore, move port SWID assignment before mlxsw_core_port_init().
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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions