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 5E093A00C4; Mon, 14 Feb 2022 11:09:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2D015410F6; Mon, 14 Feb 2022 11:09:03 +0100 (CET) Received: from mail-108-mta82.mxroute.com (mail-108-mta82.mxroute.com [136.175.108.82]) by mails.dpdk.org (Postfix) with ESMTP id 0C3B540DDA for ; Mon, 14 Feb 2022 11:09:01 +0100 (CET) Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultr.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta82.mxroute.com (ZoneMTA) with ESMTPSA id 17ef7b4fa550005a20.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Mon, 14 Feb 2022 10:08:59 +0000 X-Zone-Loop: e4f335dcc1b0db79e64811f0b9d362ba5618ff2bbb4f 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:Date:In-reply-to: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=Gt+vJOC0AjszE0Bj4c/NyOjLZppwqwQxuoTL9OitVKI=; b=f8KvxAlGtCXYbz06LqJG3daYHN q/HB6qtCJcc3IKQfHLNPwmTvDks7poMy5hcFnPkIK2SrXr6mmbz/MLEIxlTnWzRxBhMQTmCUqx+KR iWh5KXb/+OFSyr8TBV1epKJetkLMv0cXJ7GJnELVE5gf5+NLLFhjG/ZIGfMqWLM4qCQKTwyyiB6D7 whmDAzVzhXXMqRD+vIyldIi6YMjT+RT1FMkNOOCyXyDol3c7A1sMb4lvEmmA1tLRk9YNEW8DLutQt QARObnjbyYshguiwbFgEfA0F/4Ti9Duxb+co+udVFYyMdH0jETMZIANsEj2JwDzgpjXKzJVYvZxzA IUld7m9A==; References: <20220125041936.906026-1-psatheesh@marvell.com> <20220214043351.1511677-1-psatheesh@marvell.com> User-agent: mu4e 1.4.15; emacs 27.1 From: Ray Kinsella To: psatheesh@marvell.com Cc: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] drivers: enable keep flow rule device capability for cnxk In-reply-to: <20220214043351.1511677-1-psatheesh@marvell.com> Date: Mon, 14 Feb 2022 05:08:57 -0500 Message-ID: <87bkz9iwue.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 psatheesh@marvell.com writes: > From: Kiran Kumar K > > Adding changes to enable keep flow rule device capability. > With this change, flow rules will be kept across device restart. > > Signed-off-by: Kiran Kumar K > Reviewed-by: Satheesh Paul > --- > v2: > * Allow creating flow rule before device start. > > drivers/common/cnxk/roc_npc.c | 8 ++++++++ > drivers/common/cnxk/roc_npc.h | 2 ++ > drivers/common/cnxk/roc_npc_mcam.c | 20 ++++++++++++++++++++ > drivers/common/cnxk/roc_npc_priv.h | 1 + > drivers/common/cnxk/version.map | 1 + > drivers/net/cnxk/cnxk_ethdev.c | 15 +++++++++++++-- > drivers/net/cnxk/cnxk_ethdev_ops.c | 4 ++-- > 7 files changed, 47 insertions(+), 4 deletions(-) > Acked-by: Ray Kinsella -- Regards, Ray K