mlxsw: reg: Move 'mpsc' definition in 'mlxsw_reg_infos'
authorAmit Cohen <amcohen@nvidia.com>
Tue, 25 Jul 2023 12:04:01 +0000 (14:04 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Jul 2023 04:49:26 +0000 (21:49 -0700)
commit68bf5100fadffbba297f9142bf005767e571d726
treee883b69217e73ba50c09f97c85ee32ee61ba4fba
parentc1b0b6118b48100de0465b09201445df292647c1
mlxsw: reg: Move 'mpsc' definition in 'mlxsw_reg_infos'

The array 'mlxsw_reg_infos' is ordered by registers' IDs. The ID of MPSC
register is 0x9080, so it should be after MCDA (register ID 0x9063) and
not after MTUTC (register ID 0x9055). Note that the register's fields are
defined in the correct place in the file, only the definition in
'mlxsw_reg_infos' is wrong. This issue was found while adding new
register which supposed to be before mpsc.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Link: https://lore.kernel.org/r/c5e270cd5769f301fe81235622215143506e1b48.1690281940.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/reg.h