Skip to content

Commit

Permalink
mlxsw: core: Extend interfaces for cable info access with slot argument
Browse files Browse the repository at this point in the history
Extend all cable info APIs with 'slot_index' argument.

For main board, slot will always be set to zero and these APIs will work
as before. If reading cable information is required from cages located
on line cards, slot should be set to the physical slot number, where
line card is located in modular systems.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
vadimp-nvidia authored and davem330 committed Apr 15, 2022
1 parent be52d26 commit 3494545
Show file tree
Hide file tree
Showing 7 changed files with 184 additions and 134 deletions.
Loading

0 comments on commit 3494545

Please sign in to comment.