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 D18B945E41 for ; Sat, 7 Dec 2024 09:02:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C90F040281; Sat, 7 Dec 2024 09:02:11 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2040.outbound.protection.outlook.com [40.107.92.40]) by mails.dpdk.org (Postfix) with ESMTP id 4B4D1402A5 for ; Sat, 7 Dec 2024 09:02:10 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QFRgPvo/upiEkPSHD4SzH2ZIA3NlzpHOwcWeVQEuVfqRs+wXFAxErcHvBYt4tyilkrTuXy2ar+i69LAADReZVPrvRnjdq1iH2qrO3Ru3TcS5nQGM+XZ1khyrkpI77aw6buMJVX9UcmEhFW7eGnN4VXFllr3mOMj/EXPsM9/8xDfEJ+gOalmlTlOj6+A01DYEBZ7rnufaqt41FYok/LEQNRRvVpUG5QWetDB9rR8EGUJ1IQ1/4S9h+isoQJ3IN73b731pV6wwIuZEaT8y6NpvuxAjBeKKOqLpB6OIWakQwl8qVATmfROhpwuod0wdbPNN5omC+rGOmaOKMpBbNbHiMg== 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=p2qRrtGtVyo4HpMThyTXj1KvsGu+5UVp14JsS/br9ck=; b=OMmjDC7c0l9INzPsw1/LUpxFLFSXfbI+DcbUUPBe4GM97rbPks48xwB1iL2N8FBsJF+662i9uRpZsv4Ho3/XrzmUi/fuAGTWWC0mgWtpnMJ7Ym/iS8FbpRaFITNi4xzKJw4+pPB7u64sxZCHzhTZhR8yOt7PgX81xBTfZwQUgaLNWz1UZxJYQ0QvTThq6jggxOWR232QXqE1uUw4DXnTVFXTryeW0ndsRqfI5GkFckr5ZGrt9MKfbgs2PXzFwW9B6iypCCHcVfVoCYQgBbil0sIyDobwDqZWWMdY6d85XTFpaJYUXAiHij03NvsbrXzRkHjUdvpQVIHpXos+2pErdw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org 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=p2qRrtGtVyo4HpMThyTXj1KvsGu+5UVp14JsS/br9ck=; b=nfbG5C4qoqz4o5zDIHxt0Ubb+WU5LNIc9+frN2CXTHF2PXL/a2inK4OWlPpUL4+VK7aQIw2nSNWbBksbjPqE73Fkcg0/YQjVIumwhp15TpHwEDmu6uH6f9hNCbN7mCSHxurxuJWxCaXSXFwcHUI6+Cml2zicZ9LWsoB94WFNpmt9ERzmhUN7OtJTVELqgU8oqBebdO4fK0QbqAKwgZ0rJezPlPxJoB+oYD7ces2Xe6kG3L47H+ED7hVA6xPsmClL/MUxCDwH1wh9fuOhC2u/AA9qfdnr9sC+fqdf9O1CJWaOPNJyW7fxEBNP7v2sNodl0PjUJj55XmGSyEfCLEd/TA== Received: from PH1PEPF000132F9.NAMP220.PROD.OUTLOOK.COM (2603:10b6:518:1::2a) by SA0PR12MB4383.namprd12.prod.outlook.com (2603:10b6:806:94::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.12; Sat, 7 Dec 2024 08:02:06 +0000 Received: from CY4PEPF0000E9D7.namprd05.prod.outlook.com (2a01:111:f403:f912::5) by PH1PEPF000132F9.outlook.office365.com (2603:1036:903:47::3) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8207.19 via Frontend Transport; Sat, 7 Dec 2024 08:02:06 +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 CY4PEPF0000E9D7.mail.protection.outlook.com (10.167.241.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.7 via Frontend Transport; Sat, 7 Dec 2024 08:02:05 +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; Sat, 7 Dec 2024 00:01:51 -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; Sat, 7 Dec 2024 00:01:49 -0800 From: Xueming Li To: Viacheslav Ovsiienko CC: Xueming Li , Dariusz Sosnowski , dpdk stable Subject: patch 'net/mlx5: fix trace script for multiple burst completion' has been queued to stable release 23.11.3 Date: Sat, 7 Dec 2024 15:59:27 +0800 Message-ID: <20241207080055.488538-10-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241207080055.488538-1-xuemingl@nvidia.com> References: <20241111062847.216344-122-xuemingl@nvidia.com> <20241207080055.488538-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: CY4PEPF0000E9D7:EE_|SA0PR12MB4383:EE_ X-MS-Office365-Filtering-Correlation-Id: c740800f-e1e2-4488-53f4-08dd16957128 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|36860700013|376014|82310400026; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?WWuUoevO/LpDRZSx2GWGYEPq00Pq3ojVvqYBjz4aJ/6jFe8/s93/rUPm02EM?= =?us-ascii?Q?8h72RlYWbBA1ktyDYRtuGTQ2WW7jg1Kw+Nm7U/ATRmTuc2VwJCWVpxQds1KK?= =?us-ascii?Q?gkYd+/3mM+fywcxMRzUSvA2LQPbhWWWCkiUuJ+GXybNR0TAlwBgXi9KZrtNR?= =?us-ascii?Q?BhFh+fJESlmus7V9+o1q/O0rB42uy+dGDR2WnxGNTwTxHNoK21+jniVnwCl1?= =?us-ascii?Q?57lYr4a4LWtOSr+HzqHssuDZm+dio4FTXqXN9Ce9aoxgykYuAjLL61b9beAR?= =?us-ascii?Q?1Fktw8FGDrdjbGVJprJGBQ5fQM8Gi4Il3BR2hPjIPHInsOHMV3useMYFuy+Y?= =?us-ascii?Q?7V2ApN8vTcIfdWzebgyUqtf729jmJchXTIAzul78Z/H508xJEWIPgWjSbWsv?= =?us-ascii?Q?4Cpmw/IhErWMgqqtzHdujVPcUJmtruaGkufEwjEVIH3Yhw9TRzqcmsUSKEgl?= =?us-ascii?Q?B2LDKWltMY+xAmc+tEuOxeqkmruynr9sUVySZbE7iK0AyGwNCoChrOfsbTM8?= =?us-ascii?Q?LRpMlGkrvtZ4uY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-ascii?Q?dyFJtNlfYMQOaF1ocKwrN7qEyB/UyqB4?= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230040)(1800799024)(36860700013)(376014)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2024 08:02:05.9791 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c740800f-e1e2-4488-53f4-08dd16957128 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: CY4PEPF0000E9D7.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR12MB4383 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 12/10/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=367c6c9c840e344a4f5086bd9934964aeb2678f2 Thanks. Xueming Li --- >From 367c6c9c840e344a4f5086bd9934964aeb2678f2 Mon Sep 17 00:00:00 2001 From: Viacheslav Ovsiienko Date: Mon, 14 Oct 2024 11:04:31 +0300 Subject: [PATCH] net/mlx5: fix trace script for multiple burst completion Cc: Xueming Li [ upstream commit d67215274063cb853b6c64e218a8b6a8025adc19 ] In case if there were multiple bursts completed in the single completion the first only burst was moved to the done list. The situation is not typical, because usually tracing was used for scheduled traffic debugging and for this case each burst had its own completion requested, and there were no completions with multiple bursts. Fixes: 9725191a7e14 ("net/mlx5: add Tx datapath trace analyzing script") Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/tools/mlx5_trace.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/tools/mlx5_trace.py b/drivers/net/mlx5/tools/mlx5_trace.py index 8c1fd0a350..67461520a9 100755 --- a/drivers/net/mlx5/tools/mlx5_trace.py +++ b/drivers/net/mlx5/tools/mlx5_trace.py @@ -258,13 +258,14 @@ def do_tx_complete(msg, trace): if burst.comp(wqe_id, wqe_ts) == 0: break rmv += 1 - # mode completed burst to done list + # move completed burst(s) to done list if rmv != 0: idx = 0 while idx < rmv: + burst = queue.wait_burst[idx] queue.done_burst.append(burst) idx += 1 - del queue.wait_burst[0:rmv] + queue.wait_burst = queue.wait_burst[rmv:] def do_tx(msg, trace): -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-12-06 23:26:44.449723422 +0800 +++ 0009-net-mlx5-fix-trace-script-for-multiple-burst-complet.patch 2024-12-06 23:26:43.853044829 +0800 @@ -1 +1 @@ -From d67215274063cb853b6c64e218a8b6a8025adc19 Mon Sep 17 00:00:00 2001 +From 367c6c9c840e344a4f5086bd9934964aeb2678f2 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit d67215274063cb853b6c64e218a8b6a8025adc19 ] @@ -14 +16,0 @@ -Cc: stable@dpdk.org