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 630DAA0032 for ; Fri, 18 Feb 2022 13:40:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D7B740141; Fri, 18 Feb 2022 13:40:12 +0100 (CET) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mails.dpdk.org (Postfix) with ESMTP id 5AC8940141 for ; Fri, 18 Feb 2022 13:40:11 +0100 (CET) Received: by mail-wr1-f43.google.com with SMTP id e3so14450325wra.0 for ; Fri, 18 Feb 2022 04:40:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9VfrPzAPxm0f2sgICeI2CPsJK36cLLt2tcsWV2TyDyU=; b=IwoZO0taLJeclKGITdOZflKL+XKQ/cWtO0pfPIq6YmsJyKqdmE3YH5M4/Zfyg0GjVX //nvkNiuOOKrHYNPa8EOuLzLc3txY2x1kr0sCcG1ummcIdAxtH2SwGcS3D+aIR8mMxiZ 5X+Fom66wNnKax19+ujuO1D81UGx+Ypo4+2n9XOtE2T3LuqNvKD0qSs3/i19BbcpP4TO tgV5JDkhMVb+ivzPHKbzKS/inLdM1BgLMb4GztelR06C74P/3rFnN101SV/G6qqvVvLV HjuLFYas/CvDzh5T2tQCNlPqOik/3obAELWQBUNVJuv9p0qyagxi/u84rbjUebwMuRP/ ZYdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9VfrPzAPxm0f2sgICeI2CPsJK36cLLt2tcsWV2TyDyU=; b=MRSPLUp4Gnb0J+3Iit5qoVM70DbYdcE9ElROPzbFiJWh07DwNKbis9H9KOOIa0GQNg B/fnbqvuITOdvrras2Ro+3cngUCGfBWS0EowV/rMUwNDCozGI8Y3qU8E1z/wNZfG1dyw mFaW7OxtkW5yvubA5tFjxmgm8H8OO8nuvCUbJOWzI+jcwHfECgtB7BM6Lj9WT7F2yFub eLkKSf3k3GfbZG0OBvCPpJr0ie7pfL+TgbX5o6F9ewDlvR+3qI10v351L0Kre80Ai/am 88iu972/cT7R2ODa+kx7ipH8yxCnfuPP2dCIggmKLfO5EOT8K/BA/MiLpbRC3hOqRYFc UFlA== X-Gm-Message-State: AOAM530y9foF7EjXYlx0QrOiX3CHpmBlNeOz+tdbqfN5tS7Y1bdmA5cb GpDRZzOokJFXCa7HhJ6/XHzKe4kLad1Y/A== X-Google-Smtp-Source: ABdhPJwj+G3vG14u/5IdxBDw0qswomwN/pfcrN6yGncYval3eT7I1ajh8EMdJVe1VA7QjEm0Xwr43w== X-Received: by 2002:a5d:4c50:0:b0:1e4:9e4d:84ad with SMTP id n16-20020a5d4c50000000b001e49e4d84admr5918876wrt.305.1645188011082; Fri, 18 Feb 2022 04:40:11 -0800 (PST) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id s2sm1185259wmc.45.2022.02.18.04.40.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 04:40:10 -0800 (PST) From: luca.boccassi@gmail.com To: Nithin Dabilpuram Cc: Akhil Goyal , dpdk stable Subject: patch 'examples/ipsec-secgw: fix default flow rule creation' has been queued to stable release 20.11.5 Date: Fri, 18 Feb 2022 12:37:40 +0000 Message-Id: <20220218123931.1749595-11-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220218123931.1749595-1-luca.boccassi@gmail.com> References: <20220218123931.1749595-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 20.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/20/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/33a5d155d0dab0058ff020a2b88f07b3b28ac4b4 Thanks. Luca Boccassi --- >From 33a5d155d0dab0058ff020a2b88f07b3b28ac4b4 Mon Sep 17 00:00:00 2001 From: Nithin Dabilpuram Date: Fri, 17 Dec 2021 18:14:51 +0530 Subject: [PATCH] examples/ipsec-secgw: fix default flow rule creation [ upstream commit b0c6a0f1ee962b1540aab44df94e0fd65a9def9b ] Fix default flow rule to create after ethdev start to align with rte_flow spec. Fixes: 513f192b5fd4 ("examples/ipsec-secgw: add default flow for inline Rx") Signed-off-by: Nithin Dabilpuram Acked-by: Akhil Goyal --- examples/ipsec-secgw/ipsec-secgw.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c index 573f6303d4..8d244318e0 100644 --- a/examples/ipsec-secgw/ipsec-secgw.c +++ b/examples/ipsec-secgw/ipsec-secgw.c @@ -2931,13 +2931,14 @@ main(int32_t argc, char **argv) if ((enabled_port_mask & (1 << portid)) == 0) continue; - /* Create flow before starting the device */ - create_default_ipsec_flow(portid, req_rx_offloads[portid]); - ret = rte_eth_dev_start(portid); if (ret < 0) rte_exit(EXIT_FAILURE, "rte_eth_dev_start: " "err=%d, port=%d\n", ret, portid); + + /* Create flow after starting the device */ + create_default_ipsec_flow(portid, req_rx_offloads[portid]); + /* * If enabled, put device in promiscuous mode. * This allows IO forwarding mode to forward packets -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-02-18 12:37:38.614601386 +0000 +++ 0011-examples-ipsec-secgw-fix-default-flow-rule-creation.patch 2022-02-18 12:37:37.510787900 +0000 @@ -1 +1 @@ -From b0c6a0f1ee962b1540aab44df94e0fd65a9def9b Mon Sep 17 00:00:00 2001 +From 33a5d155d0dab0058ff020a2b88f07b3b28ac4b4 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit b0c6a0f1ee962b1540aab44df94e0fd65a9def9b ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 96916cd3c5..21abc0d251 100644 +index 573f6303d4..8d244318e0 100644 @@ -22 +23 @@ -@@ -3379,13 +3379,14 @@ main(int32_t argc, char **argv) +@@ -2931,13 +2931,14 @@ main(int32_t argc, char **argv)