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 E458A43E57 for ; Sat, 13 Apr 2024 14:51:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DDFA940294; Sat, 13 Apr 2024 14:51:17 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2059.outbound.protection.outlook.com [40.107.244.59]) by mails.dpdk.org (Postfix) with ESMTP id E1715400D6 for ; Sat, 13 Apr 2024 14:51:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F+cCaL3pTsRpxQuPtOXIR7Pt9f5Etn/yBAXfC1PFoRyPTiIszrKgFS9wft7jUL/OX4tbbyGnJOuS5dHX1xpqCV9GIwTs9A2JXe/DSdZTV4NftdIkBYWTVnQn9aV4uo/3xfVWR03PJq8DLuysIsVX313jz15w92pEupPKkcyvFmbv92Tl7UwHqWhv7hLvhdXVEL5uCEt0lVUtKtVXN8qbVIwu+n/f8Lt71MokjNOVFFhQjn51o/0BO2UHW713kdYxX1if05Qx06z01g83ESfQsa8x7KhT8YTdnqfsgFhhDTgohhrHo3NVzonWlWs9sYSz4IjuKxklYUhVvJmA9wYEwQ== 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=y16sByC0o6+Y0Lib0yFccWPzGxvTfISjRwHiTs/CwQA=; b=aarPoTxy3JFyeSuQfOpT65SkK8UckzTjmM1SYAdgQobhkCsASyw/Ccd0CjONF2mqBmflCuUoe54mg2Kjjm0R4nQFMiQ/UD5PYmZgHfhfwcyJooYZpNZ2rKBIr0e+Ne/e7q58QBmedScvLULtI+5TQ//hRtOHb8Bzgx0Jv8u7qGH7jWj9T0DewR+xKaD1CQSJBA6JTBPckmsAPuAH3wae21IFKULAdKBOV5akrKhPhT832EXpkyHzyOwziQJBuzOzRwHdx9BUbNM3KSsTVWxiCJ+pMz0mOE8ChFGlR/sbxcEDmaXDS76SzrTmftYBb9t0kY8Qa6ijaJF2MbNDA9sfmQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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 (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=y16sByC0o6+Y0Lib0yFccWPzGxvTfISjRwHiTs/CwQA=; b=UFZouJA5jcj++QY7GJn+RLl50ux7CRijzf2ey3OsV9jG9zvVpfMeU7HpVjBsqu17txTHueEkzyJl4scND07KKsAlYYaGNVvqO6mA/nmnULh79F16q4cEUtdEJQGODs5I/rz4w3wWqY1nDwr7XH94WbCNxVcCqM/9bigV/tiv4ecdmbkjEILG9uykXUoRpigyi9PztIcBEc3WFcy8XGZGMdtrUktGev7wPEKphj0ynH+KUi66a55GUYFXNXz4E/8KK0Z6j7TVc61TOoR20DGK60lTTRBbodAUBCh63wv06hdwX+W0lg3PBn9toXGOnxlsu22Lyfxdr6fWhWU5iUmNsg== Received: from BL1PR13CA0350.namprd13.prod.outlook.com (2603:10b6:208:2c6::25) by DS0PR12MB7995.namprd12.prod.outlook.com (2603:10b6:8:14e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Sat, 13 Apr 2024 12:51:11 +0000 Received: from BL02EPF00021F6D.namprd02.prod.outlook.com (2603:10b6:208:2c6:cafe::de) by BL1PR13CA0350.outlook.office365.com (2603:10b6:208:2c6::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7495.16 via Frontend Transport; Sat, 13 Apr 2024 12:51:10 +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 BL02EPF00021F6D.mail.protection.outlook.com (10.167.249.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.22 via Frontend Transport; Sat, 13 Apr 2024 12:51:10 +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; Sat, 13 Apr 2024 05:50:59 -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.1258.12; Sat, 13 Apr 2024 05:50:57 -0700 From: Xueming Li To: Suanming Mou CC: Akhil Goyal , dpdk stable Subject: patch 'app/crypto-perf: fix copy segment size' has been queued to stable release 23.11.1 Date: Sat, 13 Apr 2024 20:48:08 +0800 Message-ID: <20240413125005.725659-8-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240413125005.725659-1-xuemingl@nvidia.com> References: <20240305094757.439387-1-xuemingl@nvidia.com> <20240413125005.725659-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: BL02EPF00021F6D:EE_|DS0PR12MB7995:EE_ X-MS-Office365-Filtering-Correlation-Id: 35f2c198-46e7-4848-5fbb-08dc5bb86535 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: apdFcevSkJVyXPiG2etpWq4LX1z9cQnoJilx/DzKtN9ghAAo5pkUcK9bsn6wd0LBH1ycyUAu/uhpSCwQif04wL+nkbSw/U0YZytvPbG2dV4Rcby84THMBaELb3pAlcJ3V2ItRYSuMEcuiTkbY9+VHCkjUW78lbkKFqpvq/eXx551MGp7rK3apeY/o1q0nu1cFVUtGUDseNM2Ug48n3jzUhoHK1yZZzRYlnf/fh0/YbBDHFwclNHKRK6kCHIb7plx1GyRnhY2ovvzdsfo4W6vnAZoxVM1JoRwu2YHjkv8B62Rewf5XT39YUOe0H1VL7FBc7lixPVMxBkKoRIlr23qn/ZCq1koJy/dxnnqykuVwh498krJ0pDfo0AKiA8uQhNqpy8fPvPUa2xOvR84hUaP4L+S6xOcIJJyKv6q5d/1NdARsDGhoToTUtlvWr/qjtNkwgoYwvU8CuQZVz7xonhQqAE1TzYkK5fiB6cPZGPEfOUFqgBVKajrNVzipTE1wdGWPFovtdzbFyMLnYFJct3qaAiYGOKV5pQKSvoMbUi2e3uAXeZJ8OUiq+GbZ1+fKAbUncKOMc+JSCwRHOUWEVzwEMdR+TItDa89J1KU2QfF3L6NN+hEqwFtXQWAWFTcDt6H35de75dwJ+sJ7Q1hLQUu2N+F50BRl3vyaRGl0d/oF/wZx9MU15FmHEDrwTtVMBBku9lkx1mSTS201T93cbbv/t2wrSuHNu7UEicJl9mrBx7GlSpfy7jaFaIonEmPmoMk 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)(82310400014)(376005)(36860700004)(1800799015); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2024 12:51:10.7687 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 35f2c198-46e7-4848-5fbb-08dc5bb86535 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: BL02EPF00021F6D.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7995 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.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/15/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=f0cfffc636bac0f4bf8c064a36de2cac27d4ca03 Thanks. Xueming Li --- >From f0cfffc636bac0f4bf8c064a36de2cac27d4ca03 Mon Sep 17 00:00:00 2001 From: Suanming Mou Date: Wed, 3 Jan 2024 12:00:23 +0800 Subject: [PATCH] app/crypto-perf: fix copy segment size Cc: Xueming Li [ upstream commit 7c31d17f68f615c31811afa1830fa0e38956ffc4 ] For the case crypto device requires headroom and tailroom, the segment_sz in options also contains the headroom_sz and tailroom_sz, but mbuf's data_len is user's segment_sz without headroom_sz and tailroom_sz. That means the data size to be copied should use user's segment_sz instead of options->segment_sz. This commit fixes the copy segment size calculation. Fixes: 14864c4217ce ("test/crypto-perf: populate mbuf in latency test") Signed-off-by: Suanming Mou Acked-by: Akhil Goyal --- app/test-crypto-perf/cperf_test_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-crypto-perf/cperf_test_common.c b/app/test-crypto-perf/cperf_test_common.c index b3bf9f67e8..dbb08588ee 100644 --- a/app/test-crypto-perf/cperf_test_common.c +++ b/app/test-crypto-perf/cperf_test_common.c @@ -268,7 +268,7 @@ cperf_mbuf_set(struct rte_mbuf *mbuf, const struct cperf_options *options, const struct cperf_test_vector *test_vector) { - uint32_t segment_sz = options->segment_sz; + uint32_t segment_sz = options->segment_sz - options->headroom_sz - options->tailroom_sz; uint8_t *mbuf_data; uint8_t *test_data; uint32_t remaining_bytes = options->max_buffer_size; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-13 20:43:05.435337760 +0800 +++ 0008-app-crypto-perf-fix-copy-segment-size.patch 2024-04-13 20:43:04.907754049 +0800 @@ -1 +1 @@ -From 7c31d17f68f615c31811afa1830fa0e38956ffc4 Mon Sep 17 00:00:00 2001 +From f0cfffc636bac0f4bf8c064a36de2cac27d4ca03 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 7c31d17f68f615c31811afa1830fa0e38956ffc4 ] @@ -16 +18,0 @@ -Cc: stable@dpdk.org