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 0AE78A0543 for ; Tue, 21 Jun 2022 10:08:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 059FF4069C; Tue, 21 Jun 2022 10:08:39 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2053.outbound.protection.outlook.com [40.107.93.53]) by mails.dpdk.org (Postfix) with ESMTP id ADFA24282C for ; Tue, 21 Jun 2022 10:08:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bVfKN05Vaq5Y9R4gL0P6/ow89Qw0w2XsAoI7FkaBW96CyT0AY/aF0hZWWo86h68fIZOSFpbX6bDuxLHuSuS4EzAYL9WKJp+GhYEAkKcQMcwGHBtaGPwQNksNFjpYn08FI0O5s7m6VH2qnRUQBCo0QclILq6hTDbS/6/nbGWfIUVVgqChz24wikUObMW3Nq+bFUbQfb++d4MRdVffYUs25RFnHdZMdZ82PtVpNFMXaYf5V/647J4CiwZ4qM1ujuBCSK44SuuSLd1iyiofX7JkydljZEoWPqs+5eapoV/AWRiGCUqu9zpdv/xgncrru9nBEcmP5Kj3g0MYX53aA8FcaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FDa/vHNK/8en71PWi7vO2GRMJNaFdkcQD58Eq/SvdU0=; b=WyNM9+u/SnbuI+5ga9VUuxJiTMpYisvf1c2968yxinIbXTeoJfFPUaG3R943ssubqxkb5RrhWSKBYuBAXwimRp54B7p8SP2m67V5rAMQ3dPdp7Y706Ifp0D7Kws2rkM4IkdDy0xOXE4L3iB4ARCO20D23NTk0NkB+5YfSK8Nyhdev+emyWXlgbCk3D8EuY+ZnBxNbhMpeLsfLnHFUP9ak0fuGR8qC6LzOM/t9eMoqdVemb5oRlJAnV2B/+9c6T4J5GCGqGo/Ij2GK56pl1g7l33etS27qBCZW2/M+MRONwCpgquXnEJYUtlWWa87zTGxp8Dc8dVbkro7TJ4NgCsp2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.236) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FDa/vHNK/8en71PWi7vO2GRMJNaFdkcQD58Eq/SvdU0=; b=SP1DLAMi/gHQNA7cihS6zwRSOUmHuPhCh72uvhyBO99ao/Mfst3UCBHuNwSFcuCGxK7DdLwpXyu1mWfeyG/w91CcIArzvYubC8l2Grr4mdykNdpN/U6i2KifI7ZrtVgrxaRwR1fgkELptmsdBMhcvvuhqoaNLzV/kzJVFJg7v9cXZ4gsivkfZyZjF0XC+pJsnGBSzPhNaViNODm32JW+vK9TAfiM6UuhkY2mpjvV6uDSfJQsyfbUEdVhWA7g/7cXc6qLodrzOEZAO5jKqMKrn09biXPw8Rd1L5T7Pw38z6mnsKP1XkZ8Yq3dTUsMWamfZDZRUcjoNXk62qtH2gOCSA== Received: from BN1PR14CA0025.namprd14.prod.outlook.com (2603:10b6:408:e3::30) by BY5PR12MB4147.namprd12.prod.outlook.com (2603:10b6:a03:205::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.15; Tue, 21 Jun 2022 08:08:35 +0000 Received: from BN8NAM11FT022.eop-nam11.prod.protection.outlook.com (2603:10b6:408:e3:cafe::c) by BN1PR14CA0025.outlook.office365.com (2603:10b6:408:e3::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.18 via Frontend Transport; Tue, 21 Jun 2022 08:08:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.236) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.236 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.236; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.236) by BN8NAM11FT022.mail.protection.outlook.com (10.13.176.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5353.14 via Frontend Transport; Tue, 21 Jun 2022 08:08:35 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL109.nvidia.com (10.27.9.19) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Tue, 21 Jun 2022 08:08:34 +0000 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 21 Jun 2022 01:08:32 -0700 From: Xueming Li To: Nithin Dabilpuram CC: Akhil Goyal , dpdk stable Subject: patch 'examples/ipsec-secgw: fix promiscuous mode option' has been queued to stable release 20.11.6 Date: Tue, 21 Jun 2022 11:02:10 +0300 Message-ID: <20220621080301.2315720-65-xuemingl@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220621080301.2315720-1-xuemingl@nvidia.com> References: <20220621080301.2315720-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5c30d8dd-dac5-4161-1192-08da535d3d98 X-MS-TrafficTypeDiagnostic: BY5PR12MB4147:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CZk00AJOjH7lW2rHivqsDSTtlnbbRnnzuGc0lkI+V/GOUkprbJWi99RQGPY0nYd6qNAO68+dyFSpY7N9qH5oN//yq437HQ77zQoY8VRKzOE9UjkLE9IkLWZmSNYfrNE8C32/nIVyO/MTrez3+x6HdGrabcaJK2VSBQbnegwVkbLC+6C43Ni1k1uSo32hlnOb6bLpDg91UGpsl/173N9LugSuCS/meEBZVWgU6K4m0QK1RRxj+jUrcw7ETDyH6ftoX+5eW0DC9bHDz9bovCUWiswtFkWNfbbKfCUDohpUmSS9637ok882IbOzHqvnWUXvIu9NDdvvtXuLa6Vn7zKD5xartijeXmxjwxhllhXEsL01uEjlVvHSgyZI6bgmJ6WURp7Um9yqrpYegX/fKPMD7iDl+IC/kZe2soTjqw6F/XtJukafvjRdL/TEB+hVC1OcqWcJjMkLqsVNZqQD8Tmqawz8v8UrgWhssAaAzwgAd6taJC3lulqAmsBtBfYqYNXi5DX0yj8n7PXYpruHmsy5zxUcmscQsKCYnL48cHDN2OjEPtXSiQ9Bdo4LbyFXjMBgN9GnvbIJGZeoCpadqQaBT/4lgmWGdzzfIZjs9q9Y+z/5s/uj07nbNP4vME7veA+VcZ7zcBhQyT0pvLuIZI/lapUbg2mi/R1E5UmYwB+QeNjpPXM0E271ZpoCHv8zrh+LN8QchvyrVbRt5arKG6gMEqie7t56NX6C+c/iJPqEhGjhjrLMqOECmx3fw8akaJq6vTkKHoe0hiZPOBEqMnoR60qB22G9S+w996Op8Xckg3lKKTS/4WHmdnkgIvgtfnubZvXydyIItRXYzrg71y+3FrULuXdJn4ioPj8YuRZG5dg= X-Forefront-Antispam-Report: CIP:12.22.5.236; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(346002)(39860400002)(396003)(376002)(136003)(46966006)(36840700001)(40470700004)(316002)(2906002)(6286002)(966005)(54906003)(2616005)(6916009)(5660300002)(478600001)(53546011)(70586007)(40480700001)(8676002)(36860700001)(36756003)(70206006)(26005)(41300700001)(4326008)(8936002)(86362001)(336012)(1076003)(6666004)(47076005)(40460700003)(16526019)(81166007)(82740400003)(82310400005)(186003)(426003)(83380400001)(7696005)(55016003)(356005)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2022 08:08:35.5068 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5c30d8dd-dac5-4161-1192-08da535d3d98 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.236]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT022.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4147 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.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/23/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/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/b9b994dcf2d97b40154ed90f4dd5c682f2d77773 Thanks. Xueming Li --- >From b9b994dcf2d97b40154ed90f4dd5c682f2d77773 Mon Sep 17 00:00:00 2001 From: Nithin Dabilpuram Date: Thu, 28 Apr 2022 20:48:30 +0530 Subject: [PATCH] examples/ipsec-secgw: fix promiscuous mode option Cc: Xueming Li [ upstream commit 23d3a468c42ac8b63a36c9c4a6f01e459350f777 ] Currently default value of promiscuous mode flag is true and even there is command line argument to set it to true. So it never is in non-promiscuous mode. Fix it by changing default value to false. Fixes: d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application") Signed-off-by: Nithin Dabilpuram Acked-by: Akhil Goyal --- examples/ipsec-secgw/ipsec-secgw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c index 8d244318e0..091f54f065 100644 --- a/examples/ipsec-secgw/ipsec-secgw.c +++ b/examples/ipsec-secgw/ipsec-secgw.c @@ -160,7 +160,7 @@ uint32_t single_sa_idx; /* mask of enabled ports */ static uint32_t enabled_port_mask; static uint64_t enabled_cryptodev_mask = UINT64_MAX; -static int32_t promiscuous_on = 1; +static int32_t promiscuous_on; static int32_t numa_on = 1; /**< NUMA is enabled by default. */ static uint32_t nb_lcores; static uint32_t single_sa; -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-06-21 15:37:52.207847776 +0800 +++ 0064-examples-ipsec-secgw-fix-promiscuous-mode-option.patch 2022-06-21 15:37:49.084451417 +0800 @@ -1 +1 @@ -From 23d3a468c42ac8b63a36c9c4a6f01e459350f777 Mon Sep 17 00:00:00 2001 +From b9b994dcf2d97b40154ed90f4dd5c682f2d77773 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 23d3a468c42ac8b63a36c9c4a6f01e459350f777 ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index ad1b55f85c..25255e053c 100644 +index 8d244318e0..091f54f065 100644 @@ -24 +26 @@ -@@ -168,7 +168,7 @@ uint32_t single_sa_idx; +@@ -160,7 +160,7 @@ uint32_t single_sa_idx; @@ -32 +34 @@ - uint32_t single_sa; + static uint32_t single_sa;