]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a2a35d2975ae0654874cbc7fa3f64a27277a4af
treec2a06ccf99468b1cf687e41b2d1473888ac904d0
parentf22206b53e8c11bc9ca96856120124f21cb49dc0
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