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 2C87C41D8C for ; Mon, 27 Feb 2023 08:02:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 26CA740A84; Mon, 27 Feb 2023 08:02:25 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2082.outbound.protection.outlook.com [40.107.243.82]) by mails.dpdk.org (Postfix) with ESMTP id 6A15F40A84 for ; Mon, 27 Feb 2023 08:02:24 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KWpzfXNKlU0UPgHipM4XZ+k04HMl14Fc0WeFuudfhDiAOAcTSzZDQ3G5EXVYpUwRp6046pvY5Em1WJot6799BVfiKQkAklAuZAE6XYJyZP/KC4kRt2alxze9idQRxMtdp7dI5W/LzxZrrnJOezj6vCfVIIqejyUnVtYurcWj7VLmxCUnXZXYmG22Ik9CfEAxydnAbNniyBSaRKPUvXp53xtNdx/O/cmakhjiXSWdxuY9A3UTp5a//B0a6o5hsfUhDDieR7+cZFLK94DL09k4R5iB9wxDP2QaQf7klyT4Jbm93CaF+m9LYqNRHu0avVF0J1ybKOVuk5pzu9pitv6Baw== 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=wq/27VX6jYt14N0vU8sP83csO4LWqhyNUYeFVEZG7/A=; b=d57F2NKIrOnLTuUozDaPQUm3ZEgNC02C+CfQubGy9EO+2i1H8cwzqxrAd3DBV0K1bAgdzjYKA2oFrxAQvdaFllbKl277bBtCybPcbME8tSmc/yp4u8yzb3U8i5qeY9E7ZmsAyL46n+BQff1GR77cdUDpHJbVPmBszw+ckfalQtoCP1I++xFxGsx4iozggE4e63tWUuORl1vWykrjxP8gy7HiGovoLWeFzDYx5gKJdmtMjzXqZkaWBDVeT1hWvjL7n5UtAUSFL3B8ZtG+pilnQQHAGpdkADYEYqHl7FlX4amLawwEvdoc50Jv+RdroX9pwgWtjFYwhkZDqDAZy5GjLA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=marvell.com 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=wq/27VX6jYt14N0vU8sP83csO4LWqhyNUYeFVEZG7/A=; b=T5llP9T/iZYGxQ/CN8DVKF2IJdrv+xN7brF66zAUWPF+ZZbPR7xepltdGcYwUqMOv5AL5Wn1suvz+brrmGpcKCiSIT8G/4vm+l9ll89QAtIc1c0okXRR8oG+LC+q+5v5nqOlNNDWSD/xs4eg79/OB4ZSyu8PSy3uEPirpKwGZtMO2Djqvqqty4DZjFNzTMvQcRJJ3ozQFFPSvjJDkyrwzn4vkkC14qqhojX/dqHxoH9sFQwMcG3kHPwanZuTb7gAhHmaXHEnjeaeNgD88vesSznhLaCawgsSRrgSUZmYur0F5nCKGdVhFNYD7bnesps4R5SKwpEb6kER11jg8PMvKw== Received: from MN2PR16CA0034.namprd16.prod.outlook.com (2603:10b6:208:134::47) by CY5PR12MB6525.namprd12.prod.outlook.com (2603:10b6:930:32::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.25; Mon, 27 Feb 2023 07:02:22 +0000 Received: from BL02EPF000108E9.namprd05.prod.outlook.com (2603:10b6:208:134:cafe::f3) by MN2PR16CA0034.outlook.office365.com (2603:10b6:208:134::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.27 via Frontend Transport; Mon, 27 Feb 2023 07:02:22 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BL02EPF000108E9.mail.protection.outlook.com (10.167.241.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.12 via Frontend Transport; Mon, 27 Feb 2023 07:02:22 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Sun, 26 Feb 2023 23:02:08 -0800 Received: from nvidia.com (10.126.230.37) 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.37; Sun, 26 Feb 2023 23:02:05 -0800 From: Xueming Li To: Anoob Joseph CC: Akhil Goyal , dpdk stable Subject: patch 'app/crypto-perf: fix SPI zero' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 14:58:38 +0800 Message-ID: <20230227070107.15664-10-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230227070107.15664-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230227070107.15664-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.37] 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-TrafficTypeDiagnostic: BL02EPF000108E9:EE_|CY5PR12MB6525:EE_ X-MS-Office365-Filtering-Correlation-Id: c01bdde1-82b6-45b4-ab16-08db18909322 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P9MIgElofEcDXY9jmiX9KnBxLqDcuEkAahbCXm2IeG3Xymdo7S9bY59E1lHXRUc637uyez8bLJ3+IMtrUnE9xIFa79gb7gRrxfVE0RxAweZIxDDyW9XApORPvgdnC/rF9m8FClifZB5vyHAcUCWVvM6cLabw0HuPAk80oYAgWKKR6ySqTMBZc4VD/SdX1PrlovB5k30uSCipF32y/ph4ptHKBwwEZxsz9H+58ywf/FEREDynfpXLuqUlHusvE5n+iNAJyhZy7/01l3VQzD4kJIxpQrTn5L0Q2CkwBGwNwYtfy9urK21z7GisVwqAIAG0IHaEzLBUFZFS8Og4GysGLiz9KgsTN+DnVfFgnfxWzGMybrr7i+rGjbVg7+H6mLCmx7XJdjjuWA02OPuPtepeXuf4yAsh0fcHIAPFd3Oa7ERWXPuGxyCCTIyiGYN7USLoJVXCYJi2eXp2YfNrUSaQLlRxH0/BT5AYHLW2D5l6U/29mLi4gq18NLB9SVZIuVM5vT2YjGJKbzai6pRY/El3dXpmSc7CT76HOKB8wpfWCGC8ga8z+ASBenUMpahP1P8OaINZsrl1aEuJfqvSjLVxZROugVl5c8x2oxXfzHtgPEfcO5NwHkpe5kVQcAZeK1NcuXDfYtSmfDZjHaKR+WWe6JhHZgg1zEQ+FA+R6zGz6dTKEqXGmHmVYVWIp5wa5eGAO27PRKnu+16uje1RTXfV6QOkspoCwbc25qG5EnI23Ch2SMmx3G/WA5JbO4dijsit5sIPub//aZSXArXyuR0aHPmEXrKycJIISoBBaB86fVk= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230025)(4636009)(39860400002)(396003)(346002)(136003)(376002)(451199018)(46966006)(36840700001)(40470700004)(36756003)(55016003)(86362001)(40480700001)(40460700003)(6916009)(41300700001)(8676002)(4326008)(356005)(8936002)(70206006)(70586007)(7696005)(478600001)(82310400005)(1076003)(316002)(5660300002)(54906003)(26005)(2906002)(6286002)(36860700001)(83380400001)(82740400003)(7636003)(6666004)(186003)(16526019)(966005)(53546011)(426003)(47076005)(336012)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:02:22.4062 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c01bdde1-82b6-45b4-ab16-08db18909322 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF000108E9.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6525 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 22.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/01/23. 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://git.dpdk.org/dpdk-stable/log/?h=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=683ce01b194846b68571bfcca8f482922bc0b764 Thanks. Xueming Li --- >From 683ce01b194846b68571bfcca8f482922bc0b764 Mon Sep 17 00:00:00 2001 From: Anoob Joseph Date: Mon, 2 Jan 2023 17:16:54 +0530 Subject: [PATCH] app/crypto-perf: fix SPI zero Cc: Xueming Li [ upstream commit 2218e0780f22519a5be2ef97c80c37798c797857 ] As per IPsec specification (RFC 4303) SPI zero is reserved. Using lcore_id directly would mean SPI 0 would also be attempted. This may lead to failure on an otherwise compliant implementation. Fixes: 28dde5da503e ("app/crypto-perf: support lookaside IPsec") Signed-off-by: Anoob Joseph Acked-by: Akhil Goyal --- app/test-crypto-perf/cperf_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-crypto-perf/cperf_ops.c b/app/test-crypto-perf/cperf_ops.c index 61a3967697..4a1c9feb1c 100644 --- a/app/test-crypto-perf/cperf_ops.c +++ b/app/test-crypto-perf/cperf_ops.c @@ -722,7 +722,7 @@ create_ipsec_session(struct rte_mempool *sess_mp, .action_type = RTE_SECURITY_ACTION_TYPE_LOOKASIDE_PROTOCOL, .protocol = RTE_SECURITY_PROTOCOL_IPSEC, {.ipsec = { - .spi = rte_lcore_id(), + .spi = rte_lcore_id() + 1, /**< For testing sake, lcore_id is taken as SPI so that * for every core a different session is created. */ -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:41.348656700 +0800 +++ 0011-app-crypto-perf-fix-SPI-zero.patch 2023-02-27 14:08:40.719237000 +0800 @@ -1 +1 @@ -From 2218e0780f22519a5be2ef97c80c37798c797857 Mon Sep 17 00:00:00 2001 +From 683ce01b194846b68571bfcca8f482922bc0b764 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 2218e0780f22519a5be2ef97c80c37798c797857 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org