mlxsw: core_env: Pass slot index during PMAOS register write call
authorVadim Pasternak <vadimp@nvidia.com>
Mon, 11 Apr 2022 14:46:56 +0000 (17:46 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Apr 2022 16:51:39 +0000 (09:51 -0700)
commit64e65a540e6df27944c61b03ed2ac8fe797a0afa
treec2a06ccf99468b1cf687e41b2d1473888ac904d0
parentb691602c6f96369542d8f9e078610f89af2ad673
mlxsw: core_env: Pass slot index during PMAOS register write call

Pass the slot index down to PMAOS pack helper alongside with the module.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/core_env.c
drivers/net/ethernet/mellanox/mlxsw/reg.h