From patchwork Tue Jul 17 15:36:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ido Schimmel X-Patchwork-Id: 10529869 X-Patchwork-Delegate: idosch@idosch.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 36FCD603ED for ; Tue, 17 Jul 2018 15:41:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1BBB296CC for ; Tue, 17 Jul 2018 15:41:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CFE9629479; Tue, 17 Jul 2018 15:41:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, MAILING_LIST_MULTI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DB62C29548 for ; Tue, 17 Jul 2018 15:41:15 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 41VPdQ1mtFzF3Hb for ; Wed, 18 Jul 2018 01:41:14 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=mellanox.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=Mellanox.com header.i=@Mellanox.com header.b="kPfka0yF"; dkim-atps=neutral X-Original-To: linux-mlxsw@lists.ozlabs.org Delivered-To: linux-mlxsw@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=mellanox.com (client-ip=2a01:111:f400:fe07::603; helo=eur02-am5-obe.outbound.protection.outlook.com; envelope-from=idosch@mellanox.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=mellanox.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=Mellanox.com header.i=@Mellanox.com header.b="kPfka0yF"; dkim-atps=neutral Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-am5eur02on0603.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe07::603]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41VPYV0rXrzF3Hj for ; Wed, 18 Jul 2018 01:37:49 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wm3EHBEj/BO7c34dAPLfulo4zJW+g9hZkld+L3/EKCA=; b=kPfka0yFbpa7TAzL3K2WPHm0lG37cXI8XH2ByXgFTiYuF4jzTZ2Atjcdn70ttw4lFE4udCSJu4BT3c3g2KRAdXky36BEeh404I5lsebWWaCiMCUJ84ZrxTFiEK1DsDoH5nJNkBglJYYgqw5eSyH8/DxhYGjLi30xH+Ti0Pa0vJ8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=idosch@mellanox.com; Received: from splinter.mtl.com (193.47.165.251) by HE1PR0501MB2330.eurprd05.prod.outlook.com (2603:10a6:3:27::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.952.21; Tue, 17 Jul 2018 15:37:37 +0000 From: Ido Schimmel To: linux-internal@mellanox.com Subject: [PATCH RESEND net-next mlxsw 12/18] mlxsw: spectrum_acl: Encapsulate C-TCAM region in A-TCAM region Date: Tue, 17 Jul 2018 18:36:51 +0300 Message-Id: <20180717153657.16324-13-idosch@mellanox.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180717153657.16324-1-idosch@mellanox.com> References: <20180717153657.16324-1-idosch@mellanox.com> MIME-Version: 1.0 X-Originating-IP: [193.47.165.251] X-ClientProxiedBy: AM0PR02CA0020.eurprd02.prod.outlook.com (2603:10a6:208:3e::33) To HE1PR0501MB2330.eurprd05.prod.outlook.com (2603:10a6:3:27::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 17c62eb5-282b-4ccb-a608-08d5ebfb39d4 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:HE1PR0501MB2330; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2330; 3:8p6xUac9VEzsdzS1+rX9zfclj3mtXSbOPMHki60bgcdfBe0zwJAQVNiJGh3pPNvlhmzNTar2szIficxF4O7FGsSvRXEH/XgG8takmHIzlqaw3QyAPfDmUQzAfUX1ihpsXXtgDfusiY2VmP4z1MX1w6Si0XdE9h5HNOD1fCAPSw+aHOT1lcAz00gH/H0+POZASHTWzo+HQY3V7F81DBwjFRCBpnbLff6PbKoWUSndTrsLhnTZb7yIQ5cUe8VWMBVC; 25:ShObhJ72x1yB9i4m52Xgn5dQMMktUMwAVv5iOmF/0GAeTnbfYh4NsPeJ2/FpJhvrSpZQy/lez9KsVswuoGlILRN8r4R2m2XdZFjNJmIvFoC0QQRJNJIV5effC2HkkpKKuWdM/tJUDjszSlXdUUL8HHsXSB+iKaFPE8CxEYnNZbdi8wOcSZTaLoaC8jAEUBLOPZGKMsvW13Wt/NgIr09rx/MRDqymaRcSA/ganfuP1CfzcQKHsN7ls/0+UAnmTXNy28wTo8zOD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uCU8909LphcQPF5U/6Kx5vucqG5+iY31/IQzRoiA69BritoPKCxgOdw6db8GWP5FILPg1YE5vxBCr6n/k521YEP3NVT2I4Lrj0Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:HE1PR0501MB2330; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0501MB2330; X-Forefront-PRVS: 073631BD3D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(1496009)(396003)(39860400002)(346002)(136003)(376002)(366004)(189003)(199004)(51416003)(2906002)(8676002)(476003)(8936002)(6506007)(956004)(81156014)(2616005)(6486002)(2351001)(26005)(386003)(81166006)(16526019)(107886003)(53416004)(486006)(105586002)(446003)(4326008)(11346002)(34206002)(106356001)(66066001)(53936002)(47776003)(76176011)(68736007)(478600001)(6512007)(316002)(50226002)(50466002)(52116002)(7736002)(2361001)(3846002)(16586007)(305945005)(37006003)(97736004)(86362001)(6116002)(36756003)(217873002)(575784001)(1076002)(48376002)(6636002)(5660300001)(6666003)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0501MB2330; H:splinter.mtl.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0501MB2330; 23:eptniiqQPk0MTQZX/zujCV1YW+nwvgVyMPLYfgu?= =?us-ascii?Q?0KP21cAXeMiKq+u1DyYKU51POxgD2zYMPtsdGFukR2geHuPNjq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/11dCnScsasMMoLzFPZMDg5Xg6r1gn595dyeGrv?= =?us-ascii?Q?926bBytOUGzMWt8nWS6HrYqLDeb0S5oFtPfK7FtlYy0gJ4HiWwK/l9ED/yoK?= =?us-ascii?Q?kVOh7r5nIf3twnbwlnpFtag9P69nnmYhmsOW8XZgcG65ZKVx84yUREcIFH4b?= =?us-ascii?Q?lrgo6rmHTpoX6RiIMvJHq0uA8BiznDrJl3UfJ+imGsNHmDS+n+/Sct1YA65w?= =?us-ascii?Q?Gy0tyyMAYhUYkEjN3g/aBqKdVKd1RjkfSj7MjxnhnL1W+jgz5ECyzntz/Ezg?= =?us-ascii?Q?HmohUs8RqECxxfyKjQtYhGQd5pjSRQPGaJE3dwZb8nma7mSeFaNyoSZAsG5N?= =?us-ascii?Q?Vx1s4fuIq0n9cs1wAIDagHv55THmDDCqIDiiXn1Q42OiOk4pS/ne+49Y41Hy?= =?us-ascii?Q?GU3zaWQ=3D=3D?= X-Microsoft-Antispam-Message-Info: Y9tXeHq81aMwiXPAPu7O9RNqBZqU3EukGfzh1nhM/8HLn/qZ09JlP9l83SNHEksma9AA987xiiny+YC+V4WCJ/2oY/RoBN6LfeTe4jEjVyBmyH//GmHWO6fCpaawNWUTdTMx4znu4dvH1W6MBq6SHd6jrpJuPekLGhfThNl9mTcXRTdVy723fyNnNc4N/OXBIXvx6xjfCI0ufuQDEYUVqVmYBD73WfguVXJ7fihMrZV3R0aei9rt1juvzRMAv3Jm6vhUVoPeOoa94QhsGgR8pDXca50fC8qmmCUmW25xQczgfyS9Uc0+dVHBCruozZkjPVWl4fLrmJM4ROmMPiLOdScJxdjzJtI2mmNKnM8X1dU= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2330; 6:elN5KRmETteFzCnAyo8eLRrLKujjKv/AbdO//knrmO/41RELodGsJkty4KbTre8Z6YQZBueFqcBY6TjB0fE4fuIarxiOiBwmarVH6pIQEhq3ebVfc1Rhs2h+LH6sNxYFhMxXGEJRbiy3zG9pR6eE+c5by+qK1BRzCJGUkE/X7KMHsC5/+z+W7zBg+KnzUhJiyHz00vCjDmL81i4L9s9aV9l2TEY2TlSW0wVwV5CQ38QnPelq4I1DyF0BapmvV7UHfXdp57Od/C8WUJxm+joqJzNzmFX7s9DtLPL1qETdpyLVbDeIhbeUux/JBEmLvyX9FijFbMTk8W9WefQurwRgt1B1Fd6w/CoKwa1l3FnbR65YO0m5XKm0T9T5L4MEf30C+YTAAiImwNjCwPScGjCGQYf2IAxp6sWEK2+DmcidcsEGmFFfaq5mrZJu6itp7WRexzt4Pqs762LC14ZQzlI7Cw==; 5:/3Q4kIS+KypTvTMmpgxFvnHXAJaKASmal38zRtckym0fsEr6iDcvTJk9kQ0DjJwsS/MYH9Tc2RiWLB5j4WGWIHTmwgcif1WqqjGAASxMOXwA6sYCPUn9tWCwk18WHRweuHX5G3KLeVmiwn7vQS2Gr8tlOfKhe0EhJjqGSrVdPjI=; 24:FLRUH5ADSCXRSyY+222Y3D1YmcY1tOxV4oJJa8O+CJrlZ91uAHQ+QL9P9vDcZu0pej19cfRaqNeK8jzTZH5S6OsCtag1GjgM5VmYfZdS1v8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2330; 7:RiD59wcey/66EfTfBZUh5UPDH7eoAGHllPljVs8/FaQPO4bmIVWFZbekbPsbcCV3cvlYYLna8uv3Sd/5ueSHg95ho9uFu1nUKkZ/fGAnjKhoBKNaxeKPYUBgxPR8xanfAlKx4ezWI7nIpchz+0j2YbO91ngxmvffXiKRXFT8URTvGh0ivP8+Mf3cp9fIBfpMLcT1TbtaB0CUNb4XlVDIPYgHPcrAFjNF5uzBOLcz4hrlNTC1QLkfRsiZRCsi0HKs X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2018 15:37:37.6568 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 17c62eb5-282b-4ccb-a608-08d5ebfb39d4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0501MB2330 X-BeenThere: linux-mlxsw@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: mlxsw driver development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-mlxsw-bounces+patchwork-linux-mlxsw=patchwork.kernel.org@lists.ozlabs.org X-Virus-Scanned: ClamAV using ClamSMTP In Spectrum-2 the C-TCAM is only used for rules that can't fit in the A-TCAM due to a limited number of masks per A-TCAM region. In addition, rules inserted into the C-TCAM may affect rules residing in the A-TCAM, by clearing their C-TCAM prune bit. The two regions are thus closely related and can be thought of as if the C-TCAM region is encapsulated in the A-TCAM one. Change the data structures to reflect that before introducing A-TCAM support. Signed-off-by: Ido Schimmel --- drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c | 13 +++++++------ drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c index 2442decd0652..0f21d7ed5881 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c @@ -45,7 +45,7 @@ struct mlxsw_sp2_acl_tcam { }; struct mlxsw_sp2_acl_tcam_region { - struct mlxsw_sp_acl_ctcam_region cregion; + struct mlxsw_sp_acl_atcam_region aregion; struct mlxsw_sp_acl_tcam_region *region; }; @@ -140,7 +140,8 @@ mlxsw_sp2_acl_tcam_region_init(struct mlxsw_sp *mlxsw_sp, void *region_priv, err = mlxsw_sp_acl_atcam_region_init(mlxsw_sp, _region); if (err) return err; - return mlxsw_sp_acl_ctcam_region_init(mlxsw_sp, ®ion->cregion, + return mlxsw_sp_acl_ctcam_region_init(mlxsw_sp, + ®ion->aregion.cregion, _region); } @@ -149,7 +150,7 @@ mlxsw_sp2_acl_tcam_region_fini(struct mlxsw_sp *mlxsw_sp, void *region_priv) { struct mlxsw_sp2_acl_tcam_region *region = region_priv; - mlxsw_sp_acl_ctcam_region_fini(®ion->cregion); + mlxsw_sp_acl_ctcam_region_fini(®ion->aregion.cregion); } static int @@ -165,7 +166,7 @@ static void mlxsw_sp2_acl_tcam_chunk_init(void *region_priv, void *chunk_priv, struct mlxsw_sp2_acl_tcam_region *region = region_priv; struct mlxsw_sp2_acl_tcam_chunk *chunk = chunk_priv; - mlxsw_sp_acl_ctcam_chunk_init(®ion->cregion, &chunk->cchunk, + mlxsw_sp_acl_ctcam_chunk_init(®ion->aregion.cregion, &chunk->cchunk, priority); } @@ -186,7 +187,7 @@ static int mlxsw_sp2_acl_tcam_entry_add(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp2_acl_tcam_entry *entry = entry_priv; entry->act_block = rulei->act_block; - return mlxsw_sp_acl_ctcam_entry_add(mlxsw_sp, ®ion->cregion, + return mlxsw_sp_acl_ctcam_entry_add(mlxsw_sp, ®ion->aregion.cregion, &chunk->cchunk, &entry->centry, rulei, true); } @@ -199,7 +200,7 @@ static void mlxsw_sp2_acl_tcam_entry_del(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp2_acl_tcam_chunk *chunk = chunk_priv; struct mlxsw_sp2_acl_tcam_entry *entry = entry_priv; - mlxsw_sp_acl_ctcam_entry_del(mlxsw_sp, ®ion->cregion, + mlxsw_sp_acl_ctcam_entry_del(mlxsw_sp, ®ion->aregion.cregion, &chunk->cchunk, &entry->centry); } diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h index 0f242afdf5fe..fa0ecc226bec 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h @@ -162,6 +162,7 @@ struct mlxsw_sp_acl_atcam { }; struct mlxsw_sp_acl_atcam_region { + struct mlxsw_sp_acl_ctcam_region cregion; struct mlxsw_sp_acl_tcam_region *region; struct mlxsw_sp_acl_atcam *atcam; enum mlxsw_sp_acl_atcam_region_type type;