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 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 ; Mon, 27 May 2024 19:29:50 +0200 (CEST) Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-43fc2ad049aso49701cf.3 for ; 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 Date: Mon, 27 May 2024 22:59:23 +0530 Message-ID: Subject: Re: [PATCH 06/10] net/cnxk: add option to disable custom meta aura To: Nithin Dabilpuram Cc: Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Harman Kalra , 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, May 17, 2024 at 1:23=E2=80=AFPM Nithin Dabilpuram 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 > --- > 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::