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 5BE62A0548 for ; Sun, 28 Nov 2021 15:58:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 56EE64068A; Sun, 28 Nov 2021 15:58:58 +0100 (CET) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08on2060.outbound.protection.outlook.com [40.107.100.60]) by mails.dpdk.org (Postfix) with ESMTP id 269884068A for ; Sun, 28 Nov 2021 15:58:57 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M50WbLiAxY/qinTqJwdqruH8Ev4SEeAkRZSWaptqRMX6kFRO2+8GRUVFH3hKS/in2hdgJVrfz327e4l2bX5R/ukhci81r4oCLJMoYNkZbfiwZzn8WHrVLYR1u65PmfV+AmLQyxb7KlaxNSqIkxSRBvv4+WHlPx/kgY0H/hBiDXZhQ39+ggS+naK2RV55lcGEXc7xh/Thuyr6lYT995wvMDvGLMnCIkRfuUEakP8YeeUQbpP5zYyfxODD75mkiWtyIdcf3qHY3fSXkNs+E75oYI/tyT1Qp6+4kHNAUMLbJrtg/zSu+s/VWxjpT+BGpM6px6mzeNf5I3nGOvCKTBIWWA== 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=AKotjHkISyqaT4eDhGBhdkhgLfHP9yPR3oJoovU0YVc=; b=Qq/zl3vDTUGF24nQayfkx9ByF5fplw7YSiZQyoRDw7E6eAM2ZeidZleLIJtr6CPWEARVSPirlvea8DWrTCOU1So6bPgH8Pzk6OQF18yxRfqupoOPkbOIOiLPJrbY79ZlBC7huDw10doAscy/922Ot2ONa7NwaFB8CCa/IBM9ccBoezIlawJgICM37EhXEuZpSBBwec5fCXEumrnfLvakZPBRn2q/wSy7QztnvsCa0Lo3Azm8oBoQFCRp6MUd+DUpDlrYx/yIcPY7SJ8TXuiex7oofnOtW3DF2NFnuWj51J3ZdaL9NyHNrrj1Y3CKPlAOiWZnG5lQl6iZXVfiOccF+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=marvell.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=AKotjHkISyqaT4eDhGBhdkhgLfHP9yPR3oJoovU0YVc=; b=ZZnF8N3yhj5HxPzJHE1XvfgnrbxFg8udqrtlurqh8nr+xyCmqUDoPyEMqBlk7q1Jqt0iRv7JS1Gd6XWgE1BXNfVOQbRyKYAMG7TFggvOeu34TspKHzqlV1sscZCipg2+3+qUhXvvQYWBUHYUbq1Hi+OHqh3Y8O7WAXDUYUlbx7vyyj2dQ+Q5U7wPyERrUq9JQ0Ps1tDFpaSz2hkieSM0BY+yqKru8saPQjalplq52V273b0vayPuCs8kqerplpUI2jIRvf3GlRFvNx7YpiFrbGO+q72ywarB7gXdyE7hlxBl9yjiKQNplgvVsf60B1Wcf5QD+tEmYSe0VHbBw0lIgA== Received: from BN6PR14CA0007.namprd14.prod.outlook.com (2603:10b6:404:79::17) by CH2PR12MB5020.namprd12.prod.outlook.com (2603:10b6:610:65::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.21; Sun, 28 Nov 2021 14:58:55 +0000 Received: from BN8NAM11FT045.eop-nam11.prod.protection.outlook.com (2603:10b6:404:79:cafe::2e) by BN6PR14CA0007.outlook.office365.com (2603:10b6:404:79::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23 via Frontend Transport; Sun, 28 Nov 2021 14:58:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) 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.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT045.mail.protection.outlook.com (10.13.177.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4734.22 via Frontend Transport; Sun, 28 Nov 2021 14:58:55 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 28 Nov 2021 14:58:53 +0000 From: Xueming Li To: Ciara Power CC: Luca Boccassi , Anoob Joseph , dpdk stable Subject: patch 'test/crypto: remove unnecessary stats retrieval' has been queued to stable release 20.11.4 Date: Sun, 28 Nov 2021 22:53:39 +0800 Message-ID: <20211128145423.3974892-36-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211128145423.3974892-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> <20211128145423.3974892-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1c250333-6907-403e-cc70-08d9b27f9971 X-MS-TrafficTypeDiagnostic: CH2PR12MB5020: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vd+6rCd9pDQPUO+lrp0+xJQdz2UklC6L9L7sAF46M0CFHqRJuDYrucZFVKq5HRFR75e/vpFRvM1NTr2MtUk9cYkOmg4Owzlouk44ijYgB6+I5ZWmbI5qZ1nXLTR1Qq5ZAzKZ+wAHkrJPwYFKRzZo1xViHVxyEFF4lLat/sfUkXUP4Dqh2AdUL07/K9qHJlFIqWjGw1aerL1Ov9UqKJhK4Mx8c5RjZjQRktA6HYRaTaCRN14aYW43Vx8jNZVZiYMY+xOvh5Zx4v7KfQgjclp0qjjOdtEGdqh95kV6fiJUYxmMeEAdtt9Dr6ipfclEolHvPfatpPjhqkv1PXjth1nH2RC+lEOG6RNrJVAWfTfoEGAzTvPd+8FTBOdC4xSL7dkOshA0hKKbhZiWBkSi1uvWjmBaFiqS322HE2cIHb6wrUktdJUWUA6zSCmRptCZnt1niTK07OVGB4/bZzWkE6fk9FRYbrVQoDhYkkbi7K6rc42cdEVBTBhgZ4gwMzVAm0hX1GR5PLs8bM0msBGWOr+joKthhsOyJzP273PtWjf8/zmSEUsisttVXjrfNZJofB0KOA3c3UMnb6b1ZSaJRfUzJONbG9F2MbBlzC4q8/5hTl376jLxZge2gg/eqx5XWWZaRNBiBHLnE7myvZBFb7WFEou7IwqcpzgIjTH/ma9Ndg7H6g3YhyH4DgllnejQqtg5mNfua6Ufb0aLH2UgAa2/kA9+ZtPrI9D3gnqb/Q7HNuPzwFkzU3a80o0QwkFGifrt5yFuMevJHVb/3Ue3GZoKXNTNyUnV4fc9BfLFO5eVzcRRp4hxoPBIJ+cYE4y0an5J09k5YzLgIKt3bHMnB0gT2A== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(82310400004)(508600001)(6286002)(26005)(4326008)(83380400001)(55016003)(966005)(53546011)(356005)(8936002)(8676002)(6666004)(7696005)(2616005)(336012)(6916009)(5660300002)(426003)(36860700001)(316002)(16526019)(186003)(54906003)(7636003)(36756003)(1076003)(70586007)(86362001)(4001150100001)(2906002)(70206006)(47076005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2021 14:58:55.2959 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1c250333-6907-403e-cc70-08d9b27f9971 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT045.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB5020 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.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/30/21. 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/8d0932f280f78fefac50f1f4478281a937004cde Thanks. Xueming Li --- >From 8d0932f280f78fefac50f1f4478281a937004cde Mon Sep 17 00:00:00 2001 From: Ciara Power Date: Thu, 11 Nov 2021 10:56:19 +0000 Subject: [PATCH] test/crypto: remove unnecessary stats retrieval Cc: Xueming Li [ upstream commit c0daf3bd4b4e36375f8c338092975d61ec03a98f ] The device stats are retrieved in the testcase teardown function, but are not being used afterwards. Remove this unnecessary call. The stats retrieval for the device is being tested already by a dedicated stats testcase. Fixes: 202d375c60bc ("app/test: add cryptodev unit and performance tests") Signed-off-by: Ciara Power Acked-by: Anoob Joseph --- app/test/test_cryptodev.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index a655c37a10..4dc2a597ff 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -954,7 +954,6 @@ ut_teardown(void) { struct crypto_testsuite_params *ts_params = &testsuite_params; struct crypto_unittest_params *ut_params = &unittest_params; - struct rte_cryptodev_stats stats; /* free crypto session structure */ #ifdef RTE_LIB_SECURITY @@ -1001,8 +1000,6 @@ ut_teardown(void) RTE_LOG(DEBUG, USER1, "CRYPTO_MBUFPOOL count %u\n", rte_mempool_avail_count(ts_params->mbuf_pool)); - rte_cryptodev_stats_get(ts_params->valid_devs[0], &stats); - /* Stop the device */ rte_cryptodev_stop(ts_params->valid_devs[0]); } -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-28 22:41:05.189960833 +0800 +++ 0035-test-crypto-remove-unnecessary-stats-retrieval.patch 2021-11-28 22:41:03.283541644 +0800 @@ -1 +1 @@ -From c0daf3bd4b4e36375f8c338092975d61ec03a98f Mon Sep 17 00:00:00 2001 +From 8d0932f280f78fefac50f1f4478281a937004cde Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit c0daf3bd4b4e36375f8c338092975d61ec03a98f ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index ef0433680c..10b48cdadb 100644 +index a655c37a10..4dc2a597ff 100644 @@ -24 +26 @@ -@@ -1417,7 +1417,6 @@ ut_teardown(void) +@@ -954,7 +954,6 @@ ut_teardown(void) @@ -32 +34 @@ -@@ -1464,8 +1463,6 @@ ut_teardown(void) +@@ -1001,8 +1000,6 @@ ut_teardown(void)