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 3FB3745E41 for ; Sat, 7 Dec 2024 09:05:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 38FAC40E5E; Sat, 7 Dec 2024 09:05:40 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2049.outbound.protection.outlook.com [40.107.237.49]) by mails.dpdk.org (Postfix) with ESMTP id 6A1DD40E50 for ; Sat, 7 Dec 2024 09:05:38 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=PUjEE1vJcOd2QKLqAX+f13THrVvyy1ZH2iSBPO6rZIJj6aCgI6mSZRefopT9Gks/QNTXrXYMG7yoTyuEDLA91UwIyFH29MeLkTAyemQW/6glGR5tUjzQPcrkPI1SzDFHbW6po99Nl9OtRVGzeyz8ebgBrHe1ykP8XKT1vH2qok5ghIa7Jo3BOJR2gTGck1xtnjb3mtX7qlXa/XrYfzSUYpKYvxheaNgFRZZJMmxtHcxgoKUX7JngLI+WYim2Q/nPYvo/LvD5840t9l0dTlVxR3HS14qA9E6W3UH3BT3QDeAoVm+l7TP8LewNpOllxUXVw2wmzQRCWVhxpIOTLsmlnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ii8REEygA6Ay30/J5BbW4CK/y2XcfKU+5AnmnwLeBWw=; b=jJw7fvuGjWbmyTEvQb0sscLPEect9sRjo3z6fvzkbvGycX3Id+sDBQaDlTCXLqZMzCEY1HZCZFS4r789WUVNY/dhs00Dyg21I4y4jMf8xy3IlUv4p4VMyfKLJaR8LBBCayU4DlJxNtcRnyNYCv2nW8E4y+Qrk9QcmgLPKqu49FcQROwa9wvV5lvwNuBzjOYHOUNh0RnzzW1CSqjHMxC4bAnM/Ue7sa1XVkmlM+JAW6B9zpfrDe84RSW6PNPWiDinvWdzuFg+buouRsHojKTRghb58CgrjjY+PfcnxREbUMrElRdfueHLFtPtiTfoilR8piU+HwUV67B7utQtihErig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=intel.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 (0) 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=ii8REEygA6Ay30/J5BbW4CK/y2XcfKU+5AnmnwLeBWw=; b=cbq9XKWcMveqm/8g+jI+/M7LxLZkXaNGRg07zlSej4/QOaDo+AIxpQjorGb4rc3GdtmeWO3E+Dgv8YutZ2xo7bCVVWQTEnkJt1opxt/WtlEcKnTcdihg/1LB9mc1u32rK/A27RMk6udEiqZVK0FTtWL/HrMSUh6E+5Ed0CjG/rlX77vzOUo6bX31kBV1Fg0QBaIJFIod1m4t8bIm5KqhTy3JiIdnHYbaOvpOHPg4rqXLnBynuLSFhmeXXrXvDyjVfZJkHKD1MzQgo5NTpC6LYzXnedXyBCu4MLOFZ62WMfNSCs3ZvTmp4K9Jc5DdQhHkUExzNMsiunq4vq5IHQqieQ== Received: from MW4PR04CA0300.namprd04.prod.outlook.com (2603:10b6:303:89::35) by IA1PR12MB8537.namprd12.prod.outlook.com (2603:10b6:208:453::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.20; Sat, 7 Dec 2024 08:05:34 +0000 Received: from SJ1PEPF00001CE1.namprd05.prod.outlook.com (2603:10b6:303:89:cafe::1c) by MW4PR04CA0300.outlook.office365.com (2603:10b6:303:89::35) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8230.10 via Frontend Transport; Sat, 7 Dec 2024 08:05:33 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SJ1PEPF00001CE1.mail.protection.outlook.com (10.167.242.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.7 via Frontend Transport; Sat, 7 Dec 2024 08:05:33 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sat, 7 Dec 2024 00:05:24 -0800 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.1544.4; Sat, 7 Dec 2024 00:05:22 -0800 From: Xueming Li To: Brian Dooley CC: Xueming Li , dpdk stable Subject: patch 'test/crypto: fix synchronous API calls' has been queued to stable release 23.11.3 Date: Sat, 7 Dec 2024 16:00:04 +0800 Message-ID: <20241207080055.488538-47-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241207080055.488538-1-xuemingl@nvidia.com> References: <20241111062847.216344-122-xuemingl@nvidia.com> <20241207080055.488538-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: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PEPF00001CE1:EE_|IA1PR12MB8537:EE_ X-MS-Office365-Filtering-Correlation-Id: 044f459d-3f02-4e7b-a1ab-08dd1695ed02 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|1800799024|376014|82310400026|7053199007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?TWT11y3hKiC2mr+nDjMOBkR1ygCeUBBbdhNPd0RkhC6pCVCJGF1y/yVqs6Sf?= =?us-ascii?Q?F3sz04fiYJqAVMD7JraQFcm8qbX1QZFV91Qm7Y6XPpkBxSoff8wRb3HuEkDs?= =?us-ascii?Q?dZXieoWzypI6X81uU4VeaUuJ9tcri+50x9EJIBRROeeZ2PVVx9HBJlMP3u15?= =?us-ascii?Q?I4OOZWQz3rb9FzAKmd6X/5LaZjUj/VXCyQs6d3uns5m8LM/MDyHFmk2mXcbk?= =?us-ascii?Q?eYGVpKcZZjz3SP5G3fczio/QbcZqI0Vol37ufnhfhqBgJUWahtBEymxE1Sf8?= =?us-ascii?Q?7ADyd9EJfKsSDCyZ8kPTW5FlkFRii5iQYYl0uYMp6GgVv1jYqW29fpne+BcV?= =?us-ascii?Q?vprn3eCph3FC4oUGeK6SRwUe4F3a7KLYCTsiWIlnliFF0jx1iBAqup3OZsoJ?= =?us-ascii?Q?8gRzaBEciWWpnaOiP8yCwm6RZaadKVDbltYmyT302Ax8T+12PfmUUetP7423?= =?us-ascii?Q?wulvT8ZmwVYYYAhjsNC7wVi7tvM7/Kkg390zmhUgdxGozqIm5RszHGGuEoG6?= =?us-ascii?Q?T+2uzMAnAJ+yTWimtbioNlFzfiImJEE/EvT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8OB1x2MrjdWNuzUBw2kEPFg9?= X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230040)(36860700013)(1800799024)(376014)(82310400026)(7053199007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2024 08:05:33.8008 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 044f459d-3f02-4e7b-a1ab-08dd1695ed02 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ1PEPF00001CE1.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB8537 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 23.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/10/24. 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=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=11b2730b1dd2f587e485cc390535421ec2844d7a Thanks. Xueming Li --- >From 11b2730b1dd2f587e485cc390535421ec2844d7a Mon Sep 17 00:00:00 2001 From: Brian Dooley Date: Fri, 25 Oct 2024 15:22:51 +0100 Subject: [PATCH] test/crypto: fix synchronous API calls Cc: Xueming Li [ upstream commit 251fdc592da5eddc4d84a95d0c151b0134504a32 ] For the synchronous API the enqueue/dequeue burst functions are not called. Skip these tests when calling the synchronous API. Fixes: 4ad17a1c8fb3 ("test/crypto: fix enqueue/dequeue callback case") Signed-off-by: Brian Dooley --- app/test/test_cryptodev.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 6cd38aefae..7d9fe29c02 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -13625,6 +13625,10 @@ test_enq_callback_setup(void) uint16_t qp_id = 0; int j = 0; + /* Skip test if synchronous API is used */ + if (gbl_action_type == RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO) + return TEST_SKIPPED; + /* Verify the crypto capabilities for which enqueue/dequeue is done. */ cap_idx.type = RTE_CRYPTO_SYM_XFORM_AUTH; cap_idx.algo.auth = RTE_CRYPTO_AUTH_NULL; @@ -13746,6 +13750,10 @@ test_deq_callback_setup(void) uint16_t qp_id = 0; int j = 0; + /* Skip test if synchronous API is used */ + if (gbl_action_type == RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO) + return TEST_SKIPPED; + /* Verify the crypto capabilities for which enqueue/dequeue is done. */ cap_idx.type = RTE_CRYPTO_SYM_XFORM_AUTH; cap_idx.algo.auth = RTE_CRYPTO_AUTH_NULL; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-12-06 23:26:45.630271209 +0800 +++ 0046-test-crypto-fix-synchronous-API-calls.patch 2024-12-06 23:26:43.953044828 +0800 @@ -1 +1 @@ -From 251fdc592da5eddc4d84a95d0c151b0134504a32 Mon Sep 17 00:00:00 2001 +From 11b2730b1dd2f587e485cc390535421ec2844d7a Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 251fdc592da5eddc4d84a95d0c151b0134504a32 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -14,2 +16,2 @@ - app/test/test_cryptodev.c | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) + app/test/test_cryptodev.c | 8 ++++++++ + 1 file changed, 8 insertions(+) @@ -18 +20 @@ -index 25eef342b0..c647baeee1 100644 +index 6cd38aefae..7d9fe29c02 100644 @@ -21,11 +23 @@ -@@ -2496,7 +2496,8 @@ test_queue_pair_descriptor_count(void) - int qp_depth = 0; - int i; - -- RTE_VERIFY(gbl_action_type != RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO); -+ if (gbl_action_type == RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO) -+ return TEST_SKIPPED; - - /* Verify if the queue pair depth API is supported by driver */ - qp_depth = rte_cryptodev_qp_depth_used(ts_params->valid_devs[0], 0); -@@ -15135,6 +15136,10 @@ test_enq_callback_setup(void) +@@ -13625,6 +13625,10 @@ test_enq_callback_setup(void) @@ -42 +34 @@ -@@ -15256,6 +15261,10 @@ test_deq_callback_setup(void) +@@ -13746,6 +13750,10 @@ test_deq_callback_setup(void)