From: David S. Miller Date: Wed, 18 Jul 2018 17:13:14 +0000 (+0900) Subject: Merge branch 'mlxsw-Introduce-initial-Spectrum-2-support' X-Git-Tag: v4.19-rc1~140^2~331 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=98e60dce4da1f51afb239e9fea8f3c4705193a97;p=linux.git Merge branch 'mlxsw-Introduce-initial-Spectrum-2-support' Ido Schimmel says: ==================== mlxsw: Introduce initial Spectrum-2 support This patch set adds initial support for the Spectrum-2 ASIC. The first two patches add Spectrum-2 specific KVD linear (KVDL) manager. Unlike the Spectrum ASIC, there is no linear memory and instead the type of the entry (e.g., nexthop) and its index are hashed and the entry is placed in the computed address in the hash-based KVD memory. The third patch adds Spectrum-2 stubs in the multicast routing code. Support for multicast routing will be added later on. Patches 4-15 add ACL support. The Spectrum-2 ASIC includes an algorithmic TCAM (A-TCAM) and a regular circuit TCAM (C-TCAM) for rules that can't be inserted into the A-TCAM. This set does not make use of the A-TCAM and only places rules in the C-TCAM. This provides equivalent scale and performance to the Spectrum ASIC. A follow-up patch set will introduce A-TCAM support. The last patch extends the main driver file to work with both ASICs. ==================== Signed-off-by: David S. Miller --- 98e60dce4da1f51afb239e9fea8f3c4705193a97