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 541B945CE3 for ; Mon, 11 Nov 2024 07:30:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4CDBB4067A; Mon, 11 Nov 2024 07:30:02 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2081.outbound.protection.outlook.com [40.107.92.81]) by mails.dpdk.org (Postfix) with ESMTP id 4E7D34067A for ; Mon, 11 Nov 2024 07:30:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xJ0JQN5HC+34t2frEVK8Pz+yW4ENL23Yt3y6DalLOFhGpNoSMLwM55Xx7+XVhhYRzO9iypN4jHwfD9RIYS0MsAsLR7WCOqiOcgNcJZyjZW30PZXwruBRzrr901D7ANYLeYAMyb0Mn6my6HZKH9Ixm7ww5KnW6Ag8aJ3Pbg20QgfwEm1SnxjN3ykRxR7uXrLy+K1NtfJ613advrRdi1XPsHwsHP1Ln+5mJBR0H8YDeoWRtktm95xJRnODAwdW9KUAi7y3EFR1Duh8k8n2AJ5ppH4mU/FP4pg2YGOo0lFviZwbkXSJLVTJjAi+a1xWSWLW2itnSEEOH9VOPlKYDx1VHg== 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=GhbWGdNhl7g5gpzNA8nAartjl+d5NYCsy6dtII/xlfQ=; b=T3kaPxZseqNbMRk2GPDDV8O45d8p+Ev6vf9uUzVxBXfYjU01CqGd8B/s0QYUUpW1kKoTYR/oBBv0AmIsTKj/SUTjd2krrzjo1i2xpBAKpBzRHm26is5EhKaLD0bE0eeq2h8r6gptymQBJX+bjddbMLaPSSJMf1oH/rFkaqPPd3L5uJY5H+1ku9otfNba+L/vj35iXJj5AnDJYIPcQWabk6AzOHkOIzdLFh0Pw+AE+dpmuWLnqSD8skNMbUyZsG7MdCeEBgyZTf2tlYePyqRu2wrinvQND2HBPXuJlkDLsRrumI7CB6dKYW7lEFOFQPKV3b/+uf9ChVRnyIm7zUnV5w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) 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=GhbWGdNhl7g5gpzNA8nAartjl+d5NYCsy6dtII/xlfQ=; b=p2OQWf5E2FiY2Be6IdFBxvB74DKv4Oh3jeqBsCjhsFI9dW32kuxEhZoTX4CSBJzZsMw/hT9K6Lsnv2lGwmwU1z9Iz4yTS35VymiRIacrSjLBTPZD/eIDYLNv5HOfySaGX1giNFIuFCC76v5ECrlPpWRao0sGLW1vXUuXNInUaZ6jUQugE878nnijZDLB/x/+m59Drl6e+eepfAiME7Ky0t7jEkZr32Zp0QrBY+nGo4IYw8+A35E8s9ZKBsmAKe6WRN1GtJhMKtj5jScS1SrZh0qnivl0sdcmU++MrZId9F3VV/Yg/mmmUxWUhscjUSQ4KcIA/HsthFnXoeAu6eGFug== Received: from BL0PR01CA0017.prod.exchangelabs.com (2603:10b6:208:71::30) by SA1PR12MB5660.namprd12.prod.outlook.com (2603:10b6:806:238::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.27; Mon, 11 Nov 2024 06:29:57 +0000 Received: from BN2PEPF000055DE.namprd21.prod.outlook.com (2603:10b6:208:71:cafe::c) by BL0PR01CA0017.outlook.office365.com (2603:10b6:208:71::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.28 via Frontend Transport; Mon, 11 Nov 2024 06:29:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BN2PEPF000055DE.mail.protection.outlook.com (10.167.245.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.1 via Frontend Transport; Mon, 11 Nov 2024 06:29:56 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sun, 10 Nov 2024 22:29:43 -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; Sun, 10 Nov 2024 22:29:40 -0800 From: Xueming Li To: Pavan Nikhilesh CC: , Amit Prakash Shukla , dpdk stable Subject: patch 'test/event: fix target event queue' has been queued to stable release 23.11.3 Date: Mon, 11 Nov 2024 14:26:52 +0800 Message-ID: <20241111062847.216344-7-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241111062847.216344-1-xuemingl@nvidia.com> References: <20241111062847.216344-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: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF000055DE:EE_|SA1PR12MB5660:EE_ X-MS-Office365-Filtering-Correlation-Id: 9024dda1-133c-449c-42d4-08dd021a428b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|82310400026|1800799024|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?tL6AgIOP4QxZqBdViPr4ULknkd+gt1UCWUzaCGlZzx1uYwGPmcIB9L0FGdfB?= =?us-ascii?Q?yL9EamrJMrIrY7vGNg01qIy75nq4Pfd5A4xAGufw1dJpjq4DIm4Z+PgyMsVg?= =?us-ascii?Q?P/tvxpvjjq3JkRhESxso3QCecYXQyRzyElVVOYLQvnmT2a5hylq2b7fItiiw?= =?us-ascii?Q?SbI9I3oohR9ExsET0QOIZ3WumbR3TGnd+9fbwPxjqnmAa/QjMLIRX3S8ETkA?= =?us-ascii?Q?KR1w8ORY0HOLTR4+iHbE+b6+nPN7Sr8dy7P588r8aT21q4RNIcFLtqKDuGu2?= =?us-ascii?Q?rvYliIn8QIWBcqMKlgnXjqqdkLL8i7PadH62A6+W/uYqubK+qzFsjCN0zBFX?= =?us-ascii?Q?R9Mr1Ujc+r+Vp9sEzqv0gWYQ6T4TmTaB2F5MjIj9uqht/l9EsDJVgMpDYMWc?= =?us-ascii?Q?IlYMKwV+F/S0PZoGOtLSV3Xz4OEqIB6aorJzlzgpcmJbr/YEO75tuEPaX1gc?= =?us-ascii?Q?IL40SFLkkAytkB0cfWjCAKrXEBpj6/r5TZblv1V3Q69OXQcVaF+IPbWOqCRw?= =?us-ascii?Q?NMTDni+mYB141N/7pAXD7+B2FNCnr8NdRwPj4E9Yh3U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160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230040)(36860700013)(82310400026)(1800799024)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 06:29:56.2181 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9024dda1-133c-449c-42d4-08dd021a428b 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.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN2PEPF000055DE.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB5660 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 11/30/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=638e0139f654a52d374517d41797988ec47f63f3 Thanks. Xueming Li --- >From 638e0139f654a52d374517d41797988ec47f63f3 Mon Sep 17 00:00:00 2001 From: Pavan Nikhilesh Date: Thu, 22 Aug 2024 02:07:31 +0530 Subject: [PATCH] test/event: fix target event queue Cc: Xueming Li [ upstream commit 367fa3504851ec6c4aef393a7c53638da45a903e ] In OP_FWD mode, if internal port is supported, the target event queue should be the TEST_APP_EV_QUEUE_ID. Fixes: a276e7c8fbb3 ("test/event: add DMA adapter auto-test") Signed-off-by: Pavan Nikhilesh Tested-by: Amit Prakash Shukla Acked-by: Amit Prakash Shukla --- app/test/test_event_dma_adapter.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/test/test_event_dma_adapter.c b/app/test/test_event_dma_adapter.c index 35b417b69f..de0d671d3f 100644 --- a/app/test/test_event_dma_adapter.c +++ b/app/test/test_event_dma_adapter.c @@ -276,7 +276,10 @@ test_op_forward_mode(void) memset(&ev[i], 0, sizeof(struct rte_event)); ev[i].event = 0; ev[i].event_type = RTE_EVENT_TYPE_DMADEV; - ev[i].queue_id = TEST_DMA_EV_QUEUE_ID; + if (params.internal_port_op_fwd) + ev[i].queue_id = TEST_APP_EV_QUEUE_ID; + else + ev[i].queue_id = TEST_DMA_EV_QUEUE_ID; ev[i].sched_type = RTE_SCHED_TYPE_ATOMIC; ev[i].flow_id = 0xAABB; ev[i].event_ptr = op; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-11 14:23:05.808321426 +0800 +++ 0006-test-event-fix-target-event-queue.patch 2024-11-11 14:23:05.012192842 +0800 @@ -1 +1 @@ -From 367fa3504851ec6c4aef393a7c53638da45a903e Mon Sep 17 00:00:00 2001 +From 638e0139f654a52d374517d41797988ec47f63f3 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 367fa3504851ec6c4aef393a7c53638da45a903e ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index 3b39521153..9988d4fc7b 100644 +index 35b417b69f..de0d671d3f 100644 @@ -23 +25,2 @@ -@@ -271,7 +271,10 @@ test_op_forward_mode(void) +@@ -276,7 +276,10 @@ test_op_forward_mode(void) + memset(&ev[i], 0, sizeof(struct rte_event)); @@ -25 +27,0 @@ - ev[i].op = RTE_EVENT_OP_NEW;