diff options
| author | Jiri Pirko <jiri@nvidia.com> | 2021-09-14 09:13:24 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-09-14 12:44:16 +0100 |
| commit | 13eb056ee58ba2437c0d358cb2dff17ef9056cfb (patch) | |
| tree | a45b41737c37d9f879eae138b2ec6f8e64e34b39 /tools/perf/scripts/python | |
| parent | mlxsw: spectrum: Bump minimum FW version to xx.2008.3326 (diff) | |
| download | linux-13eb056ee58ba2437c0d358cb2dff17ef9056cfb.tar.gz linux-13eb056ee58ba2437c0d358cb2dff17ef9056cfb.zip | |
mlxsw: spectrum: Move port module mapping 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 be mapped to a module.
Therefore, move port mapping before mlxsw_core_port_init().
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
