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 65287431D5 for ; Sun, 22 Oct 2023 16:27:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E1D540A8A; Sun, 22 Oct 2023 16:27:17 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2059.outbound.protection.outlook.com [40.107.93.59]) by mails.dpdk.org (Postfix) with ESMTP id BA0E9402C0 for ; Sun, 22 Oct 2023 16:27:15 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lDXhv5sQmEmkqxc3ct37K2zJi9VlVYY1Et1hi8gBV+LcJYJJmsxEbYSUJSbAp4CMDJGvPVpjwxZknwRxDG/UjpOTgizvCKSfJUPz3RQC91YNc9DiSLCZUDWDem/MVUXfGylg8gvPM2n/9pkYjZcg15uzTjhhVV3j+Lx6DN5U9/SJR95UqdmAU/HxPRx5mcCki/MPy9Z8msdXjJymMlxOIaWLlzM5HbLkjlLMSQGhKKj8ZE5gc4EHVbCCubOft5tC+58Twxzb1zeJKdgo4VgLRfyRakfeMa8nHAjjkoU1pQqO0i1U+35x5PScdXnGxIwhpWiFQLgIVYGGBAv5kou8lQ== 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=EPtNVNKfUfm4lxu2Ux6MkNMWW1WFkamRV+70mTW/+4g=; b=cCmbzk7Nmz6Sx0nmfFtIkVnRLOaq7A2qSJpwcvpAgbSzRca0v2cjO9IYJ1tqjUWqUsoZTYOP4oiEdgxmbwkI4WeMS6Lrq+ROTEYaN1tPDz/9pdc+5BNF4xuZOD+4g/4WTqq22rbG2knFnMim1WDo8BQCMVPT81+4WWlGs7dsRZs4DdcKDrkAmITdCsObHUEIv7tpk3IR5Td+vA10boEZkNb8vIiYLUdF5D/V/xuL3QnvSh7/aI1QUlBGibiZEhXjhaolN1tmDg2ygzALwxBAxEXidovOwyakvFc7sdMShDsUWkVaSNXeYu5am/oOzG3ALqQ7LivwOkr+MD+clOLJtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=nxp.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=EPtNVNKfUfm4lxu2Ux6MkNMWW1WFkamRV+70mTW/+4g=; b=IX8qPZMoWHu7iazQC82Dv8TvxObIy/FP1Nn0WENjueeSZWKBb878lGyIliw9pCEQGn5pE2Mc6Ph934K0sbf7A5HiNknW1TDxFkng4uSePGQQWaDlWO++q3K5S3LkesxdTP+ZL7TtpsOjpis0K1XAccb1D/5ctxjioysI/Qoh3NmKkdjbogQiU8pWQgcRR5ucMdGW98c6PueUC2jgH9QFtQe3CypUABS6eWYH3ZXV6Vm4XInWtic+1SpZmurIj1ZCJijnuFHMkTxKtVzCZCdNoGm2mjjYZ+R33gV3mlTmrv2H8xAV48dc8i08A52Tncj5w9rlQJC7CB3JEVQyJpTSfg== Received: from MW4PR03CA0062.namprd03.prod.outlook.com (2603:10b6:303:b6::7) by SJ2PR12MB8875.namprd12.prod.outlook.com (2603:10b6:a03:543::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Sun, 22 Oct 2023 14:27:14 +0000 Received: from CO1PEPF000044F1.namprd05.prod.outlook.com (2603:10b6:303:b6:cafe::53) by MW4PR03CA0062.outlook.office365.com (2603:10b6:303:b6::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.31 via Frontend Transport; Sun, 22 Oct 2023 14:27:13 +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 CO1PEPF000044F1.mail.protection.outlook.com (10.167.241.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.15 via Frontend Transport; Sun, 22 Oct 2023 14:27:13 +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.986.41; Sun, 22 Oct 2023 07:27:08 -0700 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.41; Sun, 22 Oct 2023 07:27:06 -0700 From: Xueming Li To: Hemant Agrawal CC: Akhil Goyal , dpdk stable Subject: patch 'test/crypto: fix return value for GMAC case' has been queued to stable release 22.11.4 Date: Sun, 22 Oct 2023 22:21:15 +0800 Message-ID: <20231022142250.10324-47-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231022142250.10324-1-xuemingl@nvidia.com> References: <20231022142250.10324-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: CO1PEPF000044F1:EE_|SJ2PR12MB8875:EE_ X-MS-Office365-Filtering-Correlation-Id: ecdc1a73-50cd-45c7-4931-08dbd30afc41 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZmSbV+u/4A9eLqbrHN24ruzfL/LwzoeH/qAGaeBwNtTHtj3MRutx/S+8cpoQ/Tu00z/9eIuCjF0trDQQXSupTMbS/GISxZLGCq4z1Yuzcf6U27Gusag23xWbZs+oGMgf7XjAShsCRMW+s7LO0Dcz1ac9IkbACW59GJfiGPg0vRqo+bYeFgtN3XM1xVW8fBz9MQwXY2PkHbWja/hTWZ1sximGuDRYC9X8JJn42iDLU8yJnmo+qGDUFJqsVy5a7jNtawN8Ha+ot3b9/QDxLg/Fg7B9wlf1+wYANmCCkgJmLG2HXhmIk46fxJ1Df64EObBPZG/iUoI6J6NReWrojbQyRUxn+O3DKdw4iOqf7soNNx1OW5h8qBDbY4eaMt0rVotXP7KHxAvusyq9lvof+OozZKXohdC42f+03fMd9Z1heMVrvLH5pXJobsDtwoPKW2mpirnkxXg3cgtX/U3qRMMGIEK7XIAYH9ShCx8xrxMVYUCGznOgiziEXcTzbzTwT/jxnIHi+GQJ7PK8LNr0Xryb/TUyCInpZHd7k26BepTFzgiO9/XapVYEKoamjIRLTB/H1WnZ/UF2P29lNd49HMRdF4D9tvIUq0ji63p5POZDirFJfERHAsQYclb4IFszsldY0yu3naYP0yRyv2AH84SNzF/8Jum4Vm9iSFVhxBYiM6eo5+SidPKuAMD3BpAlLgT/GfQe8BumBOj/Z6HgOPqdF/dJ/frOn/0J0oO/G7jr+gfAyJMmr3WjcprSZGO802pjDp0hhaia3lTXNUKTV3LcKvG6e3Tg5m65K9ZsmjHg4lQ= 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:(13230031)(4636009)(346002)(396003)(376002)(39860400002)(136003)(230922051799003)(451199024)(186009)(64100799003)(1800799009)(82310400011)(36840700001)(40470700004)(46966006)(966005)(40460700003)(36756003)(70586007)(55016003)(40480700001)(41300700001)(6916009)(356005)(7636003)(54906003)(70206006)(316002)(82740400003)(478600001)(86362001)(2906002)(4001150100001)(8936002)(4326008)(47076005)(83380400001)(426003)(8676002)(36860700001)(336012)(5660300002)(53546011)(7696005)(2616005)(6666004)(26005)(16526019)(6286002)(1076003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2023 14:27:13.7390 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ecdc1a73-50cd-45c7-4931-08dbd30afc41 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: CO1PEPF000044F1.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8875 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.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/15/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=486fb2f97c5e78cabcc585f154841b0997458302 Thanks. Xueming Li --- >From 486fb2f97c5e78cabcc585f154841b0997458302 Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Mon, 28 Aug 2023 12:21:07 +0530 Subject: [PATCH] test/crypto: fix return value for GMAC case Cc: Xueming Li [ upstream commit 6660c7581990c2f1564a1b23a31d301f2135eb72 ] create_gmac_session is already converting the return value of ENOTSUP to TEST_SKIPPED. Fixes: bdce2564dbf7 ("cryptodev: rework session framework") Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal --- app/test/test_cryptodev.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 8a9251c818..b75edb2f2b 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -13009,7 +13009,7 @@ test_AES_GMAC_authentication(const struct gmac_test_data *tdata) retval = create_gmac_session(ts_params->valid_devs[0], tdata, RTE_CRYPTO_AUTH_OP_GENERATE); - if (retval == -ENOTSUP) + if (retval == TEST_SKIPPED) return TEST_SKIPPED; if (retval < 0) return retval; @@ -13140,7 +13140,7 @@ test_AES_GMAC_authentication_verify(const struct gmac_test_data *tdata) retval = create_gmac_session(ts_params->valid_devs[0], tdata, RTE_CRYPTO_AUTH_OP_VERIFY); - if (retval == -ENOTSUP) + if (retval == TEST_SKIPPED) return TEST_SKIPPED; if (retval < 0) return retval; @@ -13269,7 +13269,7 @@ test_AES_GMAC_authentication_SGL(const struct gmac_test_data *tdata, retval = create_gmac_session(ts_params->valid_devs[0], tdata, RTE_CRYPTO_AUTH_OP_GENERATE); - if (retval == -ENOTSUP) + if (retval == TEST_SKIPPED) return TEST_SKIPPED; if (retval < 0) return retval; @@ -13886,7 +13886,7 @@ test_authentication_verify_fail_when_data_corruption( reference, RTE_CRYPTO_AUTH_OP_VERIFY); - if (retval == -ENOTSUP) + if (retval == TEST_SKIPPED) return TEST_SKIPPED; if (retval < 0) return retval; @@ -13973,6 +13973,8 @@ test_authentication_verify_GMAC_fail_when_corruption( reference, RTE_CRYPTO_AUTH_OP_VERIFY, RTE_CRYPTO_CIPHER_OP_DECRYPT); + if (retval == TEST_SKIPPED) + return TEST_SKIPPED; if (retval < 0) return retval; @@ -14063,8 +14065,7 @@ test_authenticated_decryption_fail_when_corruption( reference, RTE_CRYPTO_AUTH_OP_VERIFY, RTE_CRYPTO_CIPHER_OP_DECRYPT); - - if (retval == -ENOTSUP) + if (retval == TEST_SKIPPED) return TEST_SKIPPED; if (retval < 0) return retval; -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-10-22 22:17:36.134205400 +0800 +++ 0046-test-crypto-fix-return-value-for-GMAC-case.patch 2023-10-22 22:17:34.256723700 +0800 @@ -1 +1 @@ -From 6660c7581990c2f1564a1b23a31d301f2135eb72 Mon Sep 17 00:00:00 2001 +From 486fb2f97c5e78cabcc585f154841b0997458302 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 6660c7581990c2f1564a1b23a31d301f2135eb72 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -19 +21 @@ -index aff1c8e55b..049ee17d41 100644 +index 8a9251c818..b75edb2f2b 100644 @@ -22 +24 @@ -@@ -13544,7 +13544,7 @@ test_AES_GMAC_authentication(const struct gmac_test_data *tdata) +@@ -13009,7 +13009,7 @@ test_AES_GMAC_authentication(const struct gmac_test_data *tdata) @@ -31 +33 @@ -@@ -13677,7 +13677,7 @@ test_AES_GMAC_authentication_verify(const struct gmac_test_data *tdata) +@@ -13140,7 +13140,7 @@ test_AES_GMAC_authentication_verify(const struct gmac_test_data *tdata) @@ -40 +42 @@ -@@ -13808,7 +13808,7 @@ test_AES_GMAC_authentication_SGL(const struct gmac_test_data *tdata, +@@ -13269,7 +13269,7 @@ test_AES_GMAC_authentication_SGL(const struct gmac_test_data *tdata, @@ -49 +51 @@ -@@ -14425,7 +14425,7 @@ test_authentication_verify_fail_when_data_corruption( +@@ -13886,7 +13886,7 @@ test_authentication_verify_fail_when_data_corruption( @@ -58 +60 @@ -@@ -14514,6 +14514,8 @@ test_authentication_verify_GMAC_fail_when_corruption( +@@ -13973,6 +13973,8 @@ test_authentication_verify_GMAC_fail_when_corruption( @@ -67 +69 @@ -@@ -14606,8 +14608,7 @@ test_authenticated_decryption_fail_when_corruption( +@@ -14063,8 +14065,7 @@ test_authenticated_decryption_fail_when_corruption(