From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 00/17] mlxsw: Introduce algorithmic TCAM support Date: Wed, 25 Jul 2018 16:46:32 -0700 (PDT) Message-ID: <20180725.164632.277300995175715235.davem@davemloft.net> References: <20180725062406.3342-1-idosch@mellanox.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, jiri@mellanox.com, mlxsw@mellanox.com To: idosch@mellanox.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:57992 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731672AbeGZBAg (ORCPT ); Wed, 25 Jul 2018 21:00:36 -0400 In-Reply-To: <20180725062406.3342-1-idosch@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Ido Schimmel Date: Wed, 25 Jul 2018 09:23:49 +0300 > The Spectrum-2 ASIC uses an algorithmic TCAM (A-TCAM) where multiple > exact matches lookups are performed instead of a single lookup as with > standard circuit TCAM (C-TCAM) memory. This allows for higher scale and > reduced power consumption. > > The lookups are performed by masking a packet using different masks > (e.g., {dst_ip/24, ethtype}) defined for the region and looking for an > exact match. Eventually, the rule with the highest priority will be > picked. > > Since the number of masks per-region is limited, the ASIC includes a > C-TCAM that can be used as a spill area for rules that do not fit into > the A-TCAM. ... Looks great, series applied, thanks!