From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id F25EF440E8;
	Mon, 27 May 2024 19:29:52 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id DE290402EE;
	Mon, 27 May 2024 19:29:52 +0200 (CEST)
Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com
 [209.85.160.174])
 by mails.dpdk.org (Postfix) with ESMTP id 923E0402D9
 for <dev@dpdk.org>; Mon, 27 May 2024 19:29:50 +0200 (CEST)
Received: by mail-qt1-f174.google.com with SMTP id
 d75a77b69052e-43fc2ad049aso49701cf.3
 for <dev@dpdk.org>; Mon, 27 May 2024 10:29:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1716830990; x=1717435790; darn=dpdk.org;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=aWBOAs8tQpaDdbrxUYgBNDyRwWiFzAF0Av2PjkLv2KA=;
 b=ldGxTKvWiUrxMYoLCNuRB+jpjQ8TbvXc2ZbhK+Vw0cPyFDj8NdriNFUo0li1Zgtt+x
 2kjsCslvWe/br0xV0ab2Z5LMp4CjvlFQzuRR0NTc5K00jonvbKtFy5iPxwERtW7OdgUB
 P5jhYKACetsppumx6UcxtToe6vrgO6Fx4yhW1BAPND3/41db1N3kx+M2U0g1EJXA04ja
 ekH/1us8+78S3fCQoN/suVrQ4RQnVgepFWThgglw+d7pnvTWT1yCNEN6AVfv7/B7aN2N
 3fvVPCcIMf9VHbqOWk4xzN+XyUk3K194lC83UPcr3FiDjBFPWsUnGN1KxjTPhZgAOcOD
 LkXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1716830990; x=1717435790;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=aWBOAs8tQpaDdbrxUYgBNDyRwWiFzAF0Av2PjkLv2KA=;
 b=itrjY+BV+8wuJn6eqw4kpQlQYHKLMlXskLJC9WzbKIA/0obaytx6YWBSI2MNQXKU8D
 pXEZLtXbiCpDiuTYkoXZjUlUeP54FMZHP1uRdmq8m2J5ThFApIMUWp1+G0OKWbH16ov7
 EF++uhXtBkxZiT7sdiP7jDmPjgKYeG9Muf6Z1H0xkeLi+AF6MBscM7I4pdAHOruQY8Kl
 JCpcpXjw4z0vxxfpllQ/4IMQJCEF9aXfsgmxwJJjdRgx4Jmofw+yoFKQypR95sWUPVfq
 qia+9Pk73568cX7dkfZajLIFFO07gircE5ycS88jh8G/5dIgL4+RLIzi6RvxZLOezwv6
 N6Ow==
X-Forwarded-Encrypted: i=1;
 AJvYcCUMosHt1D6kXtzwCJ1o3uErdlo7qSegMLyS5SEMgbi96t9qyuaj6eFSzRl0PPynYblgggueUzawB5pVN78=
X-Gm-Message-State: AOJu0YwtibKTU2tLidd//098vYC8BdUL36b7udQv+wrGwB6fx9V3d3Rg
 HsiFNjHlYWv+mwRbEnqgyvpc8lBRQ2B0g5maChsy0OcnQQv5aXhIC7O1Ldj7KI1VWeRGe2bYYWp
 bXohiE0wRATq6qMQwocinO3MhGEg=
X-Google-Smtp-Source: AGHT+IHQs80e92W/lcLHrLeIvtvGfxw10461ypQvSbRsPOtsalwFNBaDz9Oj+IPBfbGAcDCkfORBA7yTsPzPrrCUjkU=
X-Received: by 2002:a05:622a:1650:b0:43a:b584:a842 with SMTP id
 d75a77b69052e-43fb0ef21b7mr103055061cf.59.1716830989702; Mon, 27 May 2024
 10:29:49 -0700 (PDT)
MIME-Version: 1.0
References: <20240517074448.3146611-1-ndabilpuram@marvell.com>
 <20240517074448.3146611-6-ndabilpuram@marvell.com>
In-Reply-To: <20240517074448.3146611-6-ndabilpuram@marvell.com>
From: Jerin Jacob <jerinjacobk@gmail.com>
Date: Mon, 27 May 2024 22:59:23 +0530
Message-ID: <CALBAE1OW=b9AOPeJq1go8Y=4+dZjgZEZiPMuYfoeYuFERfBw1w@mail.gmail.com>
Subject: Re: [PATCH 06/10] net/cnxk: add option to disable custom meta aura
To: Nithin Dabilpuram <ndabilpuram@marvell.com>
Cc: Kiran Kumar K <kirankumark@marvell.com>,
 Sunil Kumar Kori <skori@marvell.com>, 
 Satha Rao <skoteshwar@marvell.com>, Harman Kalra <hkalra@marvell.com>,
 jerinj@marvell.com, dev@dpdk.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

On Fri, May 17, 2024 at 1:23=E2=80=AFPM Nithin Dabilpuram
<ndabilpuram@marvell.com> wrote:
>
> Add option to explicitly disable custom meta aura. Currently
> custom meta aura is enabled automatically when inl_cpt_channel
> is set i.e inline dev is masking CHAN field in IPsec rules.
>
> Also decouple the custom meta aura feature from custom sa action
> so that the custom sa action can independently be used.
>
> Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
> ---
>  doc/guides/nics/cnxk.rst               | 13 +++++++++++++
>  drivers/common/cnxk/roc_nix_inl.c      | 19 +++++++++++++------
>  drivers/common/cnxk/roc_nix_inl.h      |  1 +
>  drivers/common/cnxk/version.map        |  1 +
>  drivers/net/cnxk/cnxk_ethdev.c         |  5 +++++
>  drivers/net/cnxk/cnxk_ethdev.h         |  3 +++
>  drivers/net/cnxk/cnxk_ethdev_devargs.c |  8 +++++++-
>  7 files changed, 43 insertions(+), 7 deletions(-)
>
> diff --git a/doc/guides/nics/cnxk.rst b/doc/guides/nics/cnxk.rst
> index f5f296ee36..99ad224efd 100644
> --- a/doc/guides/nics/cnxk.rst
> +++ b/doc/guides/nics/cnxk.rst
> @@ -444,6 +444,19 @@ Runtime Config Options
>     With the above configuration, driver would enable packet inject from =
ARM cores
>     to crypto to process and send back in Rx path.
>
> +- ``Disable custom meta aura feature`` (default ``0``)
> +
> +   Custom meta aura i.e 1:N meta aura is enabled for second pass traffic=
 by default when
> +   ``inl_cpt_channel`` devarg is provided. Provide an option to disable =
the custom
> +   meta aura feature by setting devarg ``custom_meta_aura_dis`` to ``1``=
.


Update release notes for PMD section for this new feature.

> +
> +   For example::
> +
> +     -a 0002:02:00.0,custom_meta_aura_dis=3D1
> +
> +   With the above configuration, driver would disable custom meta aura f=
eature for
> +   ``0002:02:00.0`` ethdev.
> +
>  .. note::