]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlxsw-Make-port-split-code-more-generic'
authorDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 17:54:47 +0000 (10:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 17:54:47 +0000 (10:54 -0700)
commit111e4fc20e3f2a9b8e3fe859d102aea200084ced
treed68535b875ab5835504be2867569ed7b54a6c49a
parentb122fe379e6ff92b30e1c7cfd32e45f53038c542
parent0df21c41a155be87562ceb0b2f01ab67c89e9bd5
Merge branch 'mlxsw-Make-port-split-code-more-generic'

Ido Schimmel says:

====================
mlxsw: Make port split code more generic

Jiri says:

Currently, we assume some limitations and constant values which are not
applicable for Spectrum-3 which has 8 lanes ports (instead of previous 4
lanes).

This patch does 2 things:

1) Generalizes the code to not use constants so it can work for 4, 8 and
   possibly 16 lanes.

2) Enforces some assumptions we had in the code but did not check.
====================

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