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 4A7FB43E57 for ; Sat, 13 Apr 2024 14:51:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4481340294; Sat, 13 Apr 2024 14:51:22 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2084.outbound.protection.outlook.com [40.107.223.84]) by mails.dpdk.org (Postfix) with ESMTP id 6A24E4068E for ; Sat, 13 Apr 2024 14:51:20 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G1QNPeI1x7hc8+jghpl6/Mn6qc5FRq7Zx3/IkCOWuNpQGQqDmVBhgLfmoHAxjIpugDElxaLJoDiZMZUmpKbrc5AIG6sPYM18uYgRxymOExazXCn0r1re3b5HpOb38Xr+qpecdJwF66kPSaSkLx/7d/dyuqSvGfk0Pg27a4krGcXzDpdJ7wigbamsukv6CQuu5A09VCato6Lpr1x4Mi0QVrp50klcl5srgxcYOMwNf3n4PkHIVbV/PM+29nfUECn0BfRSIIPe/tFHc3l3qpajXFHoEuwEc9G6QXW9lOAZH9X0wZDOxgrDCOcKOiKhGEdAKmNA71fL4LLiVUqCkwGa1A== 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=w+m2Gr/OeYBNH9e//PG8VB7T3th0kFkfLnOuy5+hYhA=; b=H35VPjfBxgCvWeSwuez/shUWLPDkZqVues+9FtNja+zFoJDHFnAXwiC2Rqa9aVzu8do6NxOsKNamK9rlVlAtlNiO1OTTNKi6oOdfCGiur/2VXb/EOK8LmH89wpk/6RkZAqX5eoyvjo/ZwKG4Sg/knHQfzcTb3iT600Sa2RMF4EAG5hDGJ0S1aHmKezsT3WWk/zeq1Xb+mUHbdqiajuyxROhq6bsXMFoH8H5sn3UugOl6QGcnYV7E/Gm0j288+v5oI52S8VLj1KYDa0tYvJOz4le6Grhvgb+Tr/Fbhgc9YH5IMFREWX9fY8L/kKEBfDH1f9rOVbAa/JxP8DBlhNveSw== 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=w+m2Gr/OeYBNH9e//PG8VB7T3th0kFkfLnOuy5+hYhA=; b=A6lpiUDC3ZTLKqqbsKv3/YXmxMYLQhUjBltJtwPhCYmKs73ZeAKI8EDpBdowKqU8QwUazln/fp6MpS/0QiwK8GwS8dGCmEKEv3H2CCHOlYslyQIIGHwbH90tBDWPB7WVdqIL1dYHQREgjrc2Nu85dJMHO/ygAbspQIXr8R2ibefQNhpZ7CxqEfd3BcL7cvEzENjRp5teqw/oLPyfpsjkGpjJ6EBF8Xz90vDOuTGubRliA3y+A0c4ZK36J496lCV6oaI8kPmtjwyqqN8ahGl2GMJLqFr/pNWm5JA2hUjDGaWwjtlzDo8W1DMVk1GWR7a55g+Vy2qoqNwpXsiyEh9vWg== Received: from BL1PR13CA0331.namprd13.prod.outlook.com (2603:10b6:208:2c6::6) by DS0PR12MB8442.namprd12.prod.outlook.com (2603:10b6:8:125::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.55; Sat, 13 Apr 2024 12:51:12 +0000 Received: from BL02EPF00021F6D.namprd02.prod.outlook.com (2603:10b6:208:2c6:cafe::86) by BL1PR13CA0331.outlook.office365.com (2603:10b6:208:2c6::6) 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:11 +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:11 +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:51:01 -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:59 -0700 From: Xueming Li To: Suanming Mou CC: Akhil Goyal , dpdk stable Subject: patch 'app/crypto-perf: fix out-of-place mbuf size' has been queued to stable release 23.11.1 Date: Sat, 13 Apr 2024 20:48:09 +0800 Message-ID: <20240413125005.725659-9-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_|DS0PR12MB8442:EE_ X-MS-Office365-Filtering-Correlation-Id: 08ab88bb-f712-4bce-80cf-08dc5bb865b8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DrMm5IWd/RgmnKQ2VFE2XbQ9c9zkAWNV+NDqAPT8C8j+TaXSuUKaMUf78aArPHB0NZdsngpJKknRwWlhy1I8ZQNX6GNTLcjD6YPw/lZcXB/GUAO5ToSTMDcSrWE+ltquDqWo3C1Bryr65XSyGlNA8eHTobkrSTPUqgORttE75PDh5BB7EzYR5dEAfMVMXkZslBod4ZbjhWgTaIEBGjBTydGFgJK9T/s62f8dmHanOMFMMXBms0Z3hx773ZfzLanIeAr5zGE42QmzbHte7Ekob9EprnLzhxczkApQlM011J2FkLKrWaVxc2QGOvbXkdTuEUtwWLah712Wnuk33/7BBMnNV6YmY3dRaDLm+5tSZODnY0gjqNyyL8AeskXPRgh+NzVWCUOWE327GVZb5D1SfNP11XO6lGpVXFcqU7DCddCS2WihoyTxm0kQL25KK3CFaCPfRoeW8dX/gX6zrgPJVRQALCqGpBH+CgUbvKTdqi5Pg68a/YObp7AMiftR42b/W7htEXAEQDmLA0p43GwnCA5ZWtXfJQ9gfnY1AQbRXb/ioURFXeyNdaqvJgmchOHMOjUxgWkkEOiID7HOb/BiPxfi7hcxjItFWsp+6SNiuq07SERJyMEJ3m7GZ0eBueVyXWjd2GeJvqknMadBKbqZnolO7dmY0ldCbhon3yyV4q1hyzMoJ2qHoMP3nVwezqk6W4jm37SFLWvpo3PV9+ZK5uCIHN3f5tGZpBlz7WPZB8pg9pUlLCSW/bUlXEem4Tn6 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)(36860700004)(1800799015)(376005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2024 12:51:11.6280 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 08ab88bb-f712-4bce-80cf-08dc5bb865b8 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: DS0PR12MB8442 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=a1f1843146e243594b105d0732aeae39196eb1c6 Thanks. Xueming Li --- >From a1f1843146e243594b105d0732aeae39196eb1c6 Mon Sep 17 00:00:00 2001 From: Suanming Mou Date: Wed, 3 Jan 2024 12:00:24 +0800 Subject: [PATCH] app/crypto-perf: fix out-of-place mbuf size Cc: Xueming Li [ upstream commit 24515c93197091437e32f35bba3f467c01633c1d ] If crypto device requires headroom and tailroom, the mbuf of dst in out-of-place should reserve the headroom and tailroom as well, otherwise there will be no enough room for dst mbuf. Fixes: bf9d6702eca9 ("app/crypto-perf: use single mempool") Signed-off-by: Suanming Mou Acked-by: Akhil Goyal --- app/test-crypto-perf/cperf_test_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/test-crypto-perf/cperf_test_common.c b/app/test-crypto-perf/cperf_test_common.c index dbb08588ee..94d39fb177 100644 --- a/app/test-crypto-perf/cperf_test_common.c +++ b/app/test-crypto-perf/cperf_test_common.c @@ -226,7 +226,8 @@ cperf_alloc_common_memory(const struct cperf_options *options, (mbuf_size * segments_nb); params.dst_buf_offset = *dst_buf_offset; /* Destination buffer will be one segment only */ - obj_size += max_size + sizeof(struct rte_mbuf); + obj_size += max_size + sizeof(struct rte_mbuf) + + options->headroom_sz + options->tailroom_sz; } *pool = rte_mempool_create_empty(pool_name, -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-13 20:43:05.457471131 +0800 +++ 0009-app-crypto-perf-fix-out-of-place-mbuf-size.patch 2024-04-13 20:43:04.907754049 +0800 @@ -1 +1 @@ -From 24515c93197091437e32f35bba3f467c01633c1d Mon Sep 17 00:00:00 2001 +From a1f1843146e243594b105d0732aeae39196eb1c6 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 24515c93197091437e32f35bba3f467c01633c1d ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org