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 E4B2DA00C5 for ; Wed, 20 Jul 2022 10:23:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E100940697; Wed, 20 Jul 2022 10:23:04 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2077.outbound.protection.outlook.com [40.107.244.77]) by mails.dpdk.org (Postfix) with ESMTP id 76F074003C for ; Wed, 20 Jul 2022 10:23:03 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JAymNhCie8fkpFvDpwefmJ0fcjqVnubcOdTQ+EPB/9scRTWwRaVtaeIZL0l5ToRHzUsIl8DPLLO80G8UEH3vQzHWz2nSDOzqHdj4gGR9qn333zSCEQ/waJF+ZcmXWjxtUjMArD9riJ26e3sRxE2UgOtKwHSkMepp4YSNhhUzj81rzRoReiiQ4tgMZKsOLEhFdLFer7Kgn5LS88JeWeI/Ct+fbK9OW62y3K8ztCjTxQvkasZKFUhS+le6x8ZPLyPvtPSxUiilHjbipwimyP/k+wZikdJ82LeGFo0zX/mznGtqEMZuzik+cDBcbe1gqSONl3oMctL4HjXH/T4eq7n8Mw== 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=t0aK9moN8QMcvs1rNOVIwEPTFBe9H3TmrPwAo5WP1UY=; b=k0nk0dT6gRc2F/KVLzNFyiXf2q9SC9L3RQGkny9PO2mRVl4CS2MGpaNtEbFEXz8NNC4d5tVyp1Rgwr+j2yIgniRrU2mUGkTIG+RcI8VZrcO1GyH7Ey9QcZawlLDWrgZSNgx4EBvQQzYffg/79zALpGYhlbDy9k5dv5tEQpT6UC3ddTqoRK2JeYd+kg/XcofF4pGIThNRz/7CxiiiamWVrjH1jizvmOrMWyFoVq/2UMRUkeqF9I6FSFNyRadNdASgKC3sSl7iAJSCLf9abN8KpFCAkTjPsOXyMITwA7vobh3a/BxWDYHC6wfljcxyzu4b7CLjd/BjsuLWx7jtM+yR4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.234) 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=t0aK9moN8QMcvs1rNOVIwEPTFBe9H3TmrPwAo5WP1UY=; b=Dgkn2AI9Ji5m/+ElgXK+jJm0F2OgBCHHm/Fmn2tfIlOuIP/E67iTVo0XnVdNhuq1weGXUg/EJSzhRS0QjbfdJIE1pC1/M0SZL74ptbUDQJ0pLXfvC5D2EUg2v+woBESeblkvZMbumNmi9hqUKhnoJrwbYNsKDarz3iorJ7uGHlc5tvO+8etkeouzJnvA/TH/ihguXWuqqW47iIga2Jdm8NED3NT77LFd0pmH3jwFjHkegclHLJXwX3N6PIW6vftSNoYUpovDNSXlDu6IiN47FdzozUs4Nrlkg3NYp+7kyxUooUak5RW8n91cns25TDddYHS+utGxkxT2B8c2I84cHA== Received: from BN9PR03CA0593.namprd03.prod.outlook.com (2603:10b6:408:10d::28) by BYAPR12MB2725.namprd12.prod.outlook.com (2603:10b6:a03:6b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.21; Wed, 20 Jul 2022 08:23:01 +0000 Received: from BN8NAM11FT058.eop-nam11.prod.protection.outlook.com (2603:10b6:408:10d:cafe::7f) by BN9PR03CA0593.outlook.office365.com (2603:10b6:408:10d::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.19 via Frontend Transport; Wed, 20 Jul 2022 08:23:00 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.234) 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.234 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.234; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.234) by BN8NAM11FT058.mail.protection.outlook.com (10.13.177.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5458.17 via Frontend Transport; Wed, 20 Jul 2022 08:23:00 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL101.nvidia.com (10.27.9.10) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Wed, 20 Jul 2022 08:22:59 +0000 Received: from nvidia.com (10.126.231.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.26; Wed, 20 Jul 2022 01:22:58 -0700 From: Xueming Li To: Vladimir Medvedkin CC: , dpdk stable Subject: patch 'test/ipsec: fix performance test' has been queued to stable release 20.11.6 Date: Wed, 20 Jul 2022 11:20:41 +0300 Message-ID: <20220720082132.3954126-12-xuemingl@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220720082132.3954126-1-xuemingl@nvidia.com> References: <20220621080301.2315720-1-xuemingl@nvidia.com> <20220720082132.3954126-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.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: 7ed69ad2-1c10-4c3d-71ec-08da6a290f25 X-MS-TrafficTypeDiagnostic: BYAPR12MB2725:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?/3bKlg89mNeGvDKV2XzOAm2zcywkIm6WJSNiqtuFfgmDvanbJVVoDJZdGQ7F?= =?us-ascii?Q?9mASahg6NrfWlLyTsa39WJ+8kCK0X3Sk1wCkb7lkSzWYOJ8UVLQDK47rOJQp?= =?us-ascii?Q?pZccVmIs/cwwsSEz4ZRrj+616+bYZ5fl80oIwQEgw8zFSOsjak5quCukNQOw?= =?us-ascii?Q?++a6/EmLOpPKiI0OCvwa7t/SWNmJdyQgE7/Qg+UpFaOECdthJ/afurd1+8Jy?= =?us-ascii?Q?WWLYogW2JC89vmswO19AzpwBVxsw+DimXmuaHXt5olEYfIPor7KOH93BMXeg?= =?us-ascii?Q?j4nnaYZFsEKrYeXkbVRPc3zlLG1rSfrntdjqfAak0tTQ0AAIUmZRa4iHPM3/?= =?us-ascii?Q?svYSWsXpHP8Sajc8/QxSfI9aeALtYlGl64rY7oLGKMMjqCrHTL0dlnw3NwaW?= =?us-ascii?Q?tVi81fAixrHKTLsTH64JmF19tVWXnvidVUjwLW6ASrpN20TFThde+g0nd5gk?= =?us-ascii?Q?l+vCmglbUss4AaMOYPL1oTIdTDWrsrpo6GgBUXuncoLmiRbaaZjIsD+Qhrvh?= =?us-ascii?Q?l2NL5Iz3k8ppa5gYyw5dlLO/65ABDL9EACPwZod/qzAFWq6Oqb647CT3sDRW?= =?us-ascii?Q?d/SgHefvWBflYb74kiIisPQ3zayvKqmPB9+GJXB4CN3UWrSBzJrXxv9M1WdP?= =?us-ascii?Q?MRCOnMyBYilIQwQ+yIncqwZm/eZ7ifyoFUQQW1BN5MSsuqcExzYkFntpxTi6?= =?us-ascii?Q?UR9EBdTb1z7pGLXrIu2Ffgb5PXzZjIZ7x3EtH6qReJ+ps8FrCSAt6wWsP3oF?= =?us-ascii?Q?atlyJkuU9M+5ogWcmpSp9ffzUPAPUgEcvZF1Zv2MUQ+4sK1BR+bjjBkRheMD?= =?us-ascii?Q?lRxztTgd3FNQ46SmPtZuECCbPyL9GC0WIc2hqnxAdfpsurRmpcuz0FvWDBUA?= =?us-ascii?Q?KEdOamzoMOL89LoJtU/7JrX+P4V++3CxYkfZvmOD6VZFbCg0IpOVBDP0a4fe?= =?us-ascii?Q?ZroqLqXbLNOKu1RgwrIwlA=3D=3D?= X-Forefront-Antispam-Report: CIP:12.22.5.234; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(39860400002)(396003)(346002)(136003)(376002)(40470700004)(46966006)(36840700001)(86362001)(53546011)(83380400001)(36756003)(356005)(82740400003)(26005)(426003)(7696005)(966005)(186003)(41300700001)(81166007)(2616005)(6286002)(1076003)(6666004)(16526019)(336012)(47076005)(478600001)(82310400005)(8936002)(54906003)(316002)(5660300002)(4326008)(70206006)(6916009)(55016003)(40460700003)(2906002)(8676002)(40480700001)(36860700001)(70586007)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2022 08:23:00.4943 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7ed69ad2-1c10-4c3d-71ec-08da6a290f25 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.234]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT058.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB2725 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 07/22/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/b39e829bacedb6a80327ba31813aa24f05c721ba Thanks. Xueming Li --- >From b39e829bacedb6a80327ba31813aa24f05c721ba Mon Sep 17 00:00:00 2001 From: Vladimir Medvedkin Date: Tue, 21 Jun 2022 13:30:45 +0000 Subject: [PATCH] test/ipsec: fix performance test Cc: Xueming Li [ upstream commit 3ab95f3d1cebc1e064e30f83ddef1453fbcd9ae1 ] This patch initializes with 0 rte_ipsec_sa_prm inside the ipsec_sa struct. Before it was passed uninitialized to rte_ipsec_sa_init(), which does not check whether prm->ipsec_xform.esn.value is greater than sa->sqn_mask. Bugzilla ID: 1023 Fixes: f7f3ac6dcbe2 ("test/ipsec: add performance cases") Signed-off-by: Vladimir Medvedkin --- app/test/test_ipsec_perf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test/test_ipsec_perf.c b/app/test/test_ipsec_perf.c index 92106bf374..7e07805ea3 100644 --- a/app/test/test_ipsec_perf.c +++ b/app/test/test_ipsec_perf.c @@ -580,8 +580,8 @@ testsuite_teardown(void) static int test_libipsec_perf(void) { - struct ipsec_sa sa_out; - struct ipsec_sa sa_in; + struct ipsec_sa sa_out = { .sa_prm = { 0 } }; + struct ipsec_sa sa_in = { .sa_prm = { 0 } }; uint32_t i; int ret; -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-20 15:00:59.351567599 +0800 +++ 0012-test-ipsec-fix-performance-test.patch 2022-07-20 15:00:58.671000561 +0800 @@ -1 +1 @@ -From 3ab95f3d1cebc1e064e30f83ddef1453fbcd9ae1 Mon Sep 17 00:00:00 2001 +From b39e829bacedb6a80327ba31813aa24f05c721ba Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 3ab95f3d1cebc1e064e30f83ddef1453fbcd9ae1 ] @@ -14 +16,0 @@ -Cc: stable@dpdk.org @@ -22 +24 @@ -index 0eca003282..b5d0c2e036 100644 +index 92106bf374..7e07805ea3 100644 @@ -25 +27 @@ -@@ -592,8 +592,8 @@ testsuite_teardown(void) +@@ -580,8 +580,8 @@ testsuite_teardown(void)