]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlxsw-Spectrum-4-prep'
authorDavid S. Miller <davem@davemloft.net>
Wed, 1 Dec 2021 14:52:34 +0000 (14:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Dec 2021 14:52:34 +0000 (14:52 +0000)
commit7f7afa9679d413b41252dd0fc83094f79a123236
treeb27f603784571b50b465cc8f2cfcece8dccbe6a9
parent9ff02b8c13f55e0163abd1bc5bb219983f97f22a
parent1868fbe830a3343dd797cbb0d8d782408c99d9fe
Merge branch 'mlxsw-Spectrum-4-prep'

From: Ido Schimmel <idosch@nvidia.com>

====================
mlxsw: Spectrum-4 preparations

The Spectrum-4 ASIC will support more than 256 ports, unlike existing
ASICs. As such, various device registers were extended with two
additional bits to encode a 10 bit local port. In some cases, new
(Version 2) registers were introduced.

This patchset prepares mlxsw for Spectrum-4 support by encoding local
port in a 'u16' instead of a 'u8' and by extending the definitions of
the various registers to support the extended local port form.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>