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 1DD6941C6B for ; Sat, 11 Feb 2023 10:04:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1555E410DE; Sat, 11 Feb 2023 10:04:29 +0100 (CET) Received: from mail-ua1-f50.google.com (mail-ua1-f50.google.com [209.85.222.50]) by mails.dpdk.org (Postfix) with ESMTP id 85A2E40E03; Sat, 11 Feb 2023 10:04:27 +0100 (CET) Received: by mail-ua1-f50.google.com with SMTP id ch22so1367106uab.9; Sat, 11 Feb 2023 01:04:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=rFj56TyaqoTd6Z0sZ4CQenGEyZj5e3DobvmUxP6ujIU=; b=Lj4nYUaXEI9mYtzQf6WFD/FG7xZ94VPVUccD1KDI6PDOQqjfdVf+0hJmNJ12osw0Zi VsIVDq0Bpz8oZ9jB1nEZepyzZPImRUJJKq5owDtaM7S/RiV37L3LlebnvxQnRA2Vd6Cc qWk+OAjRIBQiD1gorTzK0dZN6kV+Z1gl2PI7yGbsjpfm3SfTcwG2huBuMZ+xbldpym6N fuI0u1XrJKH75hqAj5kBSpCPrS6wDEjdd6/0b1RacCLwRS0cpc7eWj3TuaDhLR/aYUzR ZxDbNqSP9gfAdiPPgaPGO+wk1J9doj18kRKEtXuKxYUYaQOcBsgGo6s9W5c7gf/pPA2O IyFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=rFj56TyaqoTd6Z0sZ4CQenGEyZj5e3DobvmUxP6ujIU=; b=lAtY/7w590eLaZm5rvY6TKcH2tIWrXLwCXjBmXBd+sj+Eqp+l7FhDOl2elzhtvC6wJ JPMSSU8vBURJ4mMh7V+qMo2QvJjgZAuGAfYZtOa4+CJnmCGbpuPEQhzgqdUAR1qRflrE GCeqfxa3M/oGEJ+VJUEoDWeUmhuDQ+e529MYpNFL+u3E/zuIuQ3QfMRTtuhqbK+NuLHy BVaGVH0dxl/TPFecLnKtHSNrELnwBkib9gbD3FZGpQOMMWY9CwZTsrB7zQNX5LVOW/OI 5iCcnImlnfJMZtPJyQCf+/RtG8H6ArTSnMFEF/8GRkeMgn3t8U7dpUVB8rTp7gbDBVBA bTLA== X-Gm-Message-State: AO0yUKXtJCLfwJ9w4jgXk/BhbPYgJQxAWkCGxG9pJTjlEo5OidZdax7g glw/H+L0BH0PVZosgGo/jzJSkIMpS+4q0W+7LP4= X-Google-Smtp-Source: AK7set9n8VlpduZRp/3WNjoHPnagQwCjaz906yb+8cOIUj8oAAjNJbyesTngiSFcU8Az+y6bfvXmz6zm6XR8O1p7z1E= X-Received: by 2002:ab0:3319:0:b0:683:9d1b:e950 with SMTP id r25-20020ab03319000000b006839d1be950mr3537381uao.37.1676106266787; Sat, 11 Feb 2023 01:04:26 -0800 (PST) MIME-Version: 1.0 References: <20230210042121.3013558-1-psatheesh@marvell.com> <20230210082616.3075424-1-psatheesh@marvell.com> <20230210082616.3075424-3-psatheesh@marvell.com> In-Reply-To: <20230210082616.3075424-3-psatheesh@marvell.com> From: Jerin Jacob Date: Sat, 11 Feb 2023 14:34:00 +0530 Message-ID: Subject: Re: [dpdk-dev] [PATCH v2 3/3] common/cnxk: fix inline IPsec rule creation To: psatheesh@marvell.com Cc: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , dev@dpdk.org, stable@dpdk.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Fri, Feb 10, 2023 at 1:56 PM wrote: > > From: Satheesh Paul > > 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: stable@dpdk.org > > Signed-off-by: Satheesh Paul > Reviewed-by: Nithin Dabilpuram > Reviewed-by: Kiran Kumar K 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 >