From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DC84C07E99 for ; Mon, 5 Jul 2021 21:27:21 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id A06DA61985 for ; Mon, 5 Jul 2021 21:27:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A06DA61985 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B022140040; Mon, 5 Jul 2021 23:27:19 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id D3DEC4003C for ; Mon, 5 Jul 2021 23:27:17 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 59C255C0165; Mon, 5 Jul 2021 17:27:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 05 Jul 2021 17:27:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= RKYYkPfAwtc6ZicRDKPFqtbauslljnbErKp71v3Qp7M=; b=oULR237AS11FM3+T U6FNhjm9Y0KM46hN8QphW+dQ89st18jFu8+HQj7JKl9nJjTaht92zygP9tCX2qNh RrGei8Soczi7aS52tjQ3O2oD0Ibwp3J/k9IhwWiPKaFuuiJ69IE5YPjlzDMUmzzq jqtFV1RHL3Xr2OFOmXBd2H0PZAOkry9SQaOMECuRoefNtWXstUXOsuU8YCVPTVaH 7GR5ugi4krmT7aE0zbiW4mr/AiTxs2/3sVYgzP1pMAFqpF9dB2HEqkyTo2AfUx44 gveGRxu2AfeP/ujb707ufSFXNhr7Vk3cfpYcQ8lT6QkjMKoxZ7aWutKTgjIS/Nl2 6Ly5yA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=RKYYkPfAwtc6ZicRDKPFqtbauslljnbErKp71v3Qp 7M=; b=TpvKpG7c8/s9JEpMoWvdBRxznZZDz8UQBKNT9pob+M1XFutesCFoX5ryy /9ElLyg+0tTdYUh0lQFJnPgKsNRnVI4hl+x4X28n/Ju7Do4N+UR2/o6KzOBjU+E5 Y7gMUKjXeBM6qPl0KKwAcaL2kyFZAmG1ccEE6SeGy7ho0vzNDrCrN/vKgg0s2oER 3VwYkkgyyXVtvU2EBwdWH+CMIHptu39BuVs2NCuWBuUvg8lhOyKqMWlxoy6S77LL M7rFBqvaHXxbYDXqtNoYSIkQEzrPUwS1xBssuK0Dlaf6a0YTsx/BhUZVGusy5QNi GWhPwduDL4DT5z4efs8OL3sx8KzrA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeejgedgudehkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 5 Jul 2021 17:27:16 -0400 (EDT) From: Thomas Monjalon To: Farah Smith , Ajit Khaparde Cc: dev@dpdk.org, Jay Ding , Randy Schacher , Venkat Duvvuru Date: Mon, 05 Jul 2021 23:27:13 +0200 Message-ID: <1652269.30VuKb5ZA0@thomas> In-Reply-To: <20210613000652.28191-19-ajit.khaparde@broadcom.com> References: <20210530085929.29695-1-venkatkumar.duvvuru@broadcom.com> <20210613000652.28191-1-ajit.khaparde@broadcom.com> <20210613000652.28191-19-ajit.khaparde@broadcom.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 18/58] net/bnxt: shared TCAM region support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Please make the title start with an imperative verb. One more nit below. 13/06/2021 02:06, Ajit Khaparde: > From: Farah Smith > > - switch to single slice management on Wh+ > - Support of shared session WC_TCAM_HIGH and WC_TCAM_LOW regions > - Enable/disable using TF_TCAM_SHARED flag in tf_core.h > - Fix empty session module DBs in the case that none are > allocated for a given module type > > Signed-off-by: Farah Smith > Signed-off-by: Jay Ding > Signed-off-by: Randy Schacher > Signed-off-by: Venkat Duvvuru > Reviewed-by: Ajit Khaparde [...] > +++ b/drivers/net/bnxt/tf_core/tf_tcam_shared.c > @@ -0,0 +1,744 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright(c) 2019-2021 Broadcom > + * All rights reserved. > + */ > + > +#include > +#include > + > +#include "tf_tcam_shared.h" > +#include "tf_tcam.h" > +#include "tf_common.h" > +#include "tf_util.h" > +#include "tf_rm.h" > +#include "tf_device.h" > +#include "tfp.h" > +#include "tf_session.h" > +#include "tf_msg.h" > +#include "bitalloc.h" > +#include "tf_core.h" > +#include "tf_rm.h" tf_rm.h is already included.