mlxsw: reg: Add new field to Management General Peripheral Information Register
authorVadim Pasternak <vadimp@nvidia.com>
Mon, 11 Apr 2022 14:46:57 +0000 (17:46 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Apr 2022 16:51:39 +0000 (09:51 -0700)
commite94295e0ed274b86f42d93b8b63d207deb484459
tree02a7ea7238b0a2e47165ef7fbc18011b436c4286
parent64e65a540e6df27944c61b03ed2ac8fe797a0afa
mlxsw: reg: Add new field to Management General Peripheral Information Register

Add new field 'max_modules_per_slot' to provide maximum number of
modules that can be connected per slot. This field will always be zero,
if 'slot_index' in query request is set to non-zero value, otherwise
value in this field will provide maximum modules number, which can be
equipped on device inserted at any slot.

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/reg.h