]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlxsw-More-Spectrum-2-preparations'
authorDavid S. Miller <davem@davemloft.net>
Mon, 9 Jul 2018 23:24:18 +0000 (16:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jul 2018 23:24:18 +0000 (16:24 -0700)
commitc17578f2d5c61a14852657416f2f8e568c40d319
tree583fc87bf9d65e4753ec0dda39342c1f32599c78
parent26b3a38185497b2974ea511f76efab5e0b1672d5
parentd61f2b8ba18dbc5ec313a6711320f366d84f52bd
Merge branch 'mlxsw-More-Spectrum-2-preparations'

aIdo Schimmel says:

====================
mlxsw: More Spectrum-2 preparations

This is the second and last set of preparations towards initial
Spectrum-2 support in mlxsw. It mainly re-arranges parts of the code
that need to work with both ASICs, but somewhat differ.

The first three patches allow different ASICs to register different set
of operations for KVD linear (KVDL) management. In Spectrum-2 there is
no linear memory and instead entries that reside there in Spectrum
(e.g., nexthops) are hashed and inserted to the hash-based KVD memory.

The fourth patch does a similar restructuring in the low-level multicast
router code. This is necessary because multicast routing is implemented
using regular circuit TCAM (C-TCAM) in Spectrum, whereas Spectrum-2 uses
an algorithmic TCAM (A-TCAM).

Next six patches prepare the ACL code for the introduction of A-TCAM in
follow-up patch sets.

Last two patches allow different ASICs to require different firmware
versions and add two resources that need to be queried from firmware by
Spectrum-2 specific code.
====================

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