On Fri, May 17, 2024 at 1:23 PM Nithin Dabilpuram
<ndabilpu...@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 <ndabilpu...@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=1
> +
> +   With the above configuration, driver would disable custom meta aura 
> feature for
> +   ``0002:02:00.0`` ethdev.
> +
>  .. note::

Reply via email to