DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jerin Jacob <jerinjacobk@gmail.com>
To: psatheesh@marvell.com
Cc: Nithin Dabilpuram <ndabilpuram@marvell.com>,
	Kiran Kumar K <kirankumark@marvell.com>,
	 Sunil Kumar Kori <skori@marvell.com>,
	Satha Rao <skoteshwar@marvell.com>,
	dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH 1/2] common/cnxk: support SPI to SA translation action
Date: Tue, 4 Apr 2023 13:00:48 +0530	[thread overview]
Message-ID: <CALBAE1PFP-voZAB_AMPvUdU83oj0G53TEUkyZn5GbJZgJQAa9w@mail.gmail.com> (raw)
In-Reply-To: <20230313052403.230953-1-psatheesh@marvell.com>

On Mon, Mar 13, 2023 at 10:54 AM <psatheesh@marvell.com> wrote:
>
> From: Kiran Kumar K <kirankumark@marvell.com>
>
> Support SPI to SA index translation action with
> SPI bits MS_28_25.
>
> Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
> Reviewed-by: Satheesh Paul <psatheesh@marvell.com>
> Reviewed-by: Nithin Dabilpuram <ndabilpuram@marvell.com>


Applied to dpdk-next-net-mrvl/for-next-net. Thanks


> ---
>  drivers/common/cnxk/roc_npc.c | 4 ++++
>  drivers/common/cnxk/roc_npc.h | 1 +
>  2 files changed, 5 insertions(+)
>
> diff --git a/drivers/common/cnxk/roc_npc.c b/drivers/common/cnxk/roc_npc.c
> index 47536c8ce8..7228cffb57 100644
> --- a/drivers/common/cnxk/roc_npc.c
> +++ b/drivers/common/cnxk/roc_npc.c
> @@ -438,6 +438,10 @@ npc_parse_spi_to_sa_action(struct roc_npc *roc_npc, const struct roc_npc_action
>                 vtag_act.act.vtag1_lid = ROC_NPC_SEC_ACTION_ALG2;
>                 break;
>         case ROC_NPC_SEC_ACTION_ALG3:
> +               vtag_act.act.vtag1_valid = false;
> +               vtag_act.act.vtag1_lid = ROC_NPC_SEC_ACTION_ALG3;
> +               break;
> +       case ROC_NPC_SEC_ACTION_ALG4:
>                 vtag_act.act.vtag1_valid = false;
>                 vtag_act.act.vtag1_lid = 0;
>                 mbox = inl_dev->dev.mbox;
> diff --git a/drivers/common/cnxk/roc_npc.h b/drivers/common/cnxk/roc_npc.h
> index 61d0628f5f..26a43c12cb 100644
> --- a/drivers/common/cnxk/roc_npc.h
> +++ b/drivers/common/cnxk/roc_npc.h
> @@ -235,6 +235,7 @@ enum roc_npc_sec_action_alg {
>         ROC_NPC_SEC_ACTION_ALG1,
>         ROC_NPC_SEC_ACTION_ALG2,
>         ROC_NPC_SEC_ACTION_ALG3,
> +       ROC_NPC_SEC_ACTION_ALG4,
>  };
>
>  struct roc_npc_sec_action {
> --
> 2.39.2
>

      parent reply	other threads:[~2023-04-04  7:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-13  5:24 psatheesh
2023-03-13  5:24 ` [dpdk-dev] [PATCH 2/2] common/cnxk: fix SPI to SA index destroy psatheesh
2023-03-15  5:52   ` Jerin Jacob
2023-04-04  7:30 ` Jerin Jacob [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALBAE1PFP-voZAB_AMPvUdU83oj0G53TEUkyZn5GbJZgJQAa9w@mail.gmail.com \
    --to=jerinjacobk@gmail.com \
    --cc=dev@dpdk.org \
    --cc=kirankumark@marvell.com \
    --cc=ndabilpuram@marvell.com \
    --cc=psatheesh@marvell.com \
    --cc=skori@marvell.com \
    --cc=skoteshwar@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).