From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3AB70A055C; Fri, 3 Jun 2022 13:10:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D65894069D; Fri, 3 Jun 2022 13:10:36 +0200 (CEST) Received: from mail-108-mta21.mxroute.com (mail-108-mta21.mxroute.com [136.175.108.21]) by mails.dpdk.org (Postfix) with ESMTP id 5E3B840694 for ; Fri, 3 Jun 2022 13:10:35 +0200 (CEST) Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultrusercontent.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta21.mxroute.com (ZoneMTA) with ESMTPSA id 1812942800a000c327.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Fri, 03 Jun 2022 11:10:32 +0000 X-Zone-Loop: 0009d708268c6074f28f69a65b811ef2a10c1a521052 X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ashroe.eu; s=x; h=Content-Type:MIME-Version:Message-ID:In-reply-to:Date:Subject:Cc:To: From:References:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=xoHSUEyUUMD8EYY1etfmJ1NSd7zPULf70ncpMiqm588=; b=OvxEsiOp5MrWKjvGnMIPTUVcrx WiZuwLp9t6CDZ27Wcs1zMVq6Urax7GOGslw6Vag6fCG0JJh8KnfkMsIEZA1Fy3C/kUxvqDZWNK6wa 6KHSxx/nWapcbtumwuM1/Az9hJef0OObf2a0PMUvv1zZd09sFvwv+pS8h2oJQgw0x98rxAWWWvnHN lWrNodJrBNI8qBdoeqoDQ7qXyFrR5C/Ouoh+Kl6merp7ueWNmenMAOEoa14dnDeSiKt418Y4TpIwt GT+yGcDfxnPyCYpdtJAVJvfmURIbCs4xlpmVd+kJ7Ecg7qwG7xKWaMqgjqACyRlgvhYLE2a1M5eIS PDM3r52g==; References: <20220603033432.3170553-1-psatheesh@marvell.com> User-agent: mu4e 1.6.10; emacs 27.1 From: Ray Kinsella To: psatheesh@marvell.com Cc: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , dev@dpdk.org, Jerin Jacob Kollanukkaran Subject: Re: [dpdk-dev] [PATCH] common/cnxk: add ROC API to free MCAM entry Date: Fri, 03 Jun 2022 12:10:14 +0100 In-reply-to: <20220603033432.3170553-1-psatheesh@marvell.com> Message-ID: <87tu92ovdm.fsf@mdr78.vserver.site> MIME-Version: 1.0 Content-Type: text/plain X-AuthUser: mdr@ashroe.eu 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 writes: > From: Satheesh Paul > > Add ROC API to free the given MCAM entry. If the MCAM > entry has flow counter associated, this API will clear > and free the flow counter. > > Signed-off-by: Satheesh Paul > Reviewed-by: Jerin Jacob Kollanukkaran > --- > drivers/common/cnxk/roc_npc.c | 63 +++++++++++++++++++++++------ > drivers/common/cnxk/roc_npc.h | 7 ++++ > drivers/common/cnxk/roc_npc_mcam.c | 39 ++++++++++++++---- > drivers/common/cnxk/roc_npc_priv.h | 2 + > drivers/common/cnxk/roc_npc_utils.c | 15 +++---- > drivers/common/cnxk/version.map | 3 ++ > 6 files changed, 100 insertions(+), 29 deletions(-) > Acked-by: Ray Kinsella