On Fri, Feb 10, 2023 at 1:56 PM <psathe...@marvell.com> wrote:
>
> From: Satheesh Paul <psathe...@marvell.com>
>
> Use inline IPsec device to create IPsec rules irrespective
> of RTE_ETH_RX_OFFLOAD_SECURITY offload flag.
>
> Fixes: 1aa86a170e27 ("drivers: support IPsec rule reservation scheme")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Satheesh Paul <psathe...@marvell.com>
> Reviewed-by: Nithin Dabilpuram <ndabilpu...@marvell.com>
> Reviewed-by: Kiran Kumar K <kirankum...@marvell.com>


Series applied to dpdk-next-net-eventdev/for-main. Thanks


> ---
>  drivers/common/cnxk/roc_npc.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/common/cnxk/roc_npc.c b/drivers/common/cnxk/roc_npc.c
> index 579b3dce9a..d3efebe663 100644
> --- a/drivers/common/cnxk/roc_npc.c
> +++ b/drivers/common/cnxk/roc_npc.c
> @@ -562,8 +562,10 @@ npc_parse_actions(struct roc_npc *roc_npc, const struct 
> roc_npc_attr *attr,
>                                 }
>                                 rq = inl_rq->qid;
>                                 pf_func = nix_inl_dev_pffunc_get();
> -                               flow->is_inline_dev = 1;
>                         }
> +
> +                       if (roc_nix_inl_dev_is_probed())
> +                               flow->is_inline_dev = 1;
>                         sec_action = actions;
>                         break;
>                 case ROC_NPC_ACTION_TYPE_VLAN_STRIP:
> --
> 2.35.3
>

Reply via email to