Message ID | 20240701181245.128810-1-shperetz@nvidia.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 900514553B; Mon, 1 Jul 2024 20:13:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 567CB4060A; Mon, 1 Jul 2024 20:13:22 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2040.outbound.protection.outlook.com [40.107.244.40]) by mails.dpdk.org (Postfix) with ESMTP id EAF4E402E8 for <dev@dpdk.org>; Mon, 1 Jul 2024 20:13:20 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m115ZTHIrAvQn9UES15pcNjwtLdxyROyZXAEVAAG4nrOHXXC3fOPHRHr9ezh7G4nhJKh5FxZ/NeryK/tT0MeX5zCO87WDFs8aXrIgIvnJqx0SoRyCVi40t0ynxgubfDnZPIuD97Clzz/My8uFIEolQf2Ezje2nKtu3J9UPUSqmMKZQ8ht5rEAFC8QbdcSzLnWeSAuQLUdqSrN8UQBEpJm4FhoBqIR9GdoEgJ0oizW6VE6ZaI30RtRUw9uTcRzYWGfDU3mxcPA8MK/3M5qLuVS806FJtNm7BHay7dJmaMv9L7VbPrhdZGSH03Bq4Vgywj872VwA+IdhmdOQstZDc/ag== 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=uDTPB4hgYJINhzyk7Tpf0dFQoLJ+BotFbq08/zzY8sE=; b=gxfmqvKaQCVOao0/LR3ePM6OgH9L1efDXZSS8oD49QhIOfAcnz43uvvNRrOfTIIiPSyFOC4poFGse7Ee6PTijzRe/lJ6FgkNQNxPgQPMFwGK+PJytTO710Pq2MGiUhQTx4zodbreqVM3qHlCpiDZYfzaKaI3y+IQYbySzMfVuobU+7AGKnvrswnkPgq4z8iTPg83TfzUJy0EEqizCIWuvYq0vmJ41HCvdhl4MpTFwG9xQEsbHUMI5rMyeElsIx9JQBpGafR/036H+c7p5qydogiExdOVCOAbgpAZeMXvjE41jioP9MiFaHbXxNFbHuzm2DlsHxbmRJdn64gUbE71KQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) 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=uDTPB4hgYJINhzyk7Tpf0dFQoLJ+BotFbq08/zzY8sE=; b=ckNsSZQHd5OB3j7fFniZBR2WCMmiHX5VfmpKmweoCbyY27/eU9gD/xBxxxU91y6gZwvabqEiHpHYRknYTzPsc8mNxY0JvPWa45vtxQR71mEVrEn1Wmlv6XUTEUaX2ISgFCdbyNIuqYRuVX3/59O1SDwa3NZk6105iSPW99lqiM1hxmWB3bbB9BdGe0GKU0sUbDWN0mA6WQscMjrKM5ObqkGL0b9EBaIAHEjbmRe2YiIuAhbjvFcbzu+Qz0gHqI31iTJclJ3nr+tEJb3/qO8n1WNFFMfFM/to+5usE7y1zcaCJj0y10rEhxHPlAlRcuHZhtyOc4U0+1QPGcyOjn3xpQ== Received: from CH5PR03CA0020.namprd03.prod.outlook.com (2603:10b6:610:1f1::10) by MW4PR12MB6801.namprd12.prod.outlook.com (2603:10b6:303:1e8::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.26; Mon, 1 Jul 2024 18:13:16 +0000 Received: from DS3PEPF000099DB.namprd04.prod.outlook.com (2603:10b6:610:1f1:cafe::30) by CH5PR03CA0020.outlook.office365.com (2603:10b6:610:1f1::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.33 via Frontend Transport; Mon, 1 Jul 2024 18:13:13 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) 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.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by DS3PEPF000099DB.mail.protection.outlook.com (10.167.17.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.18 via Frontend Transport; Mon, 1 Jul 2024 18:13:12 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 1 Jul 2024 11:13:00 -0700 Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail203.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 1 Jul 2024 11:13:00 -0700 Received: from nvidia.com (10.127.8.12) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4 via Frontend Transport; Mon, 1 Jul 2024 11:12:58 -0700 From: Shani Peretz <shperetz@nvidia.com> To: <dev@dpdk.org> CC: <shperetz@nvidia.com>, <mkashani@nvidia.com>, <rasland@nvidia.com>, <dsosnowski@nvidia.com> Subject: [PATCH 0/2] Added hairpin out of buffer counters Date: Mon, 1 Jul 2024 21:12:43 +0300 Message-ID: <20240701181245.128810-1-shperetz@nvidia.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS3PEPF000099DB:EE_|MW4PR12MB6801:EE_ X-MS-Office365-Filtering-Correlation-Id: a748adc4-8f0f-48ab-b629-08dc99f9787f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|1800799024|36860700013|376014; X-Microsoft-Antispam-Message-Info: rKfLkV2Cc7MDXp2PbdobtZ+jjCH1zqAcahvBR9lGdl3edxpLCiATOltpsO8ga90a3QDr/rdN3PoQxQ+/WQ9m9k0PC4PXCpY4HEIREVDGkNZOLMANk+qTaemnrUL2Z+JcGx/MCgxA7AMjVisz8CFx2VUPXvWzjDcRt+06o6TOLb25ixpBvc7RLMV6SZaD+gZMXzMxFq3gZuuxbwPeR/ApJKQbTgilE17sMpeDU2UCWHcMXRP7tSi9wYA5vt0YSOR+8W/4RrwJTqfCwIPg1vUEeTivlcjZhMwby/4Or9oDqACt8FbZHe8MaB6F0Z+AUrVaUZezBAWcfjaqvIHc3WuqhrPURet3mmbTwnf9/KAqAt+bCF7hRgxgneug7f9LjGN9HVC0YGAkbysKXaSXk6KJZ+BHp7ophoKzmQNZNFv4FgvKyxk65AKrfefhskMWyf2zh+2mhllFuiZuD8mrJ7AehSliMxOXRsa1nF4Y30h9tio4wvcsJjI2gygUlFfj4/9JrWziiWMlyvkBZw9HBNXHsbOlszsHoTrrqQuuVFs/a1pjv+LctaX+vucF0vN8ZDHiGmIH+PffpXq9IPmc+Ifw8lGGNB8qkGcE7r/5liZtMEumXfjETBKwbvcoPvFy0R1BExNjadLWm8nqsUcrK+sePYrAaJosaCCILjeuha8da+2yvG52+bVjPM3VUq0b2MQFZXF3hNSLY0fpdeUNREgNAHU5Zb41Ksxju6kD2ZW0fpBHZhgLToKQgfk+ZJT5mkyuyr5FlitGBZBXMpc4irGWezztGGZwAsMrXeEe0BUwMO0Ib3IinUuisyfPvowkQeoIk72omhDvzRgsvAJbKvY6cQmidVcE82jCrmvCrqQqDMxhoLDXojUQWGO8mlwWlPDFbRZv+TwH3xZuUQcAjNuEomfTd8id48/zwEuq9QjQ4o2P3ffH3zNCEZu9isExEXjT40lHb838Fb9ldQRkDf9cXs8t3bCmhsPMNYvrQWMC3792xTz0rIXl3Ih7mOd8Jnph70TNFcW3L1zP6YX6PdoqHQCljmbEsAw5psNuVSB2fWaUUesKDahNnV7hmoCEAczbqK9G3okhRv08i/EA5dwJ+efrpGwsfAIgaCjpPwdQ4y5+l88f08b/UmFNf/3FdCrv7SI0rYCgzGW3gKTMGL0WPN4A3Wbg0o9idQteSxaG9kVEwBa6j8vZEPFiP6wH+AODuGV/z20F0+Icg8xLaHbUItyngKe1RQmqqjLhAt/5X032QJrM7T+vklD1nJ+zlgN223Hb4lEuB1iM+Kq6HmrGuypQL+dTpX4I4nfHYMpRGxuezG7ucmLkuvaK7Ag8RMPpUQ0ym9CvYtoNj8kk+8AuUyL54JAqzAxd2CuV58/UzyVVYqqjEzWWlQtK79vn7vyrNvz9NkH47j8bmyQ+9jpxtVRoc/Dq+cSEQ2WjyPO3Ztv+G+wW+dXgl8qUtyxCuU4A X-Forefront-Antispam-Report: CIP:216.228.118.233; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc7edge2.nvidia.com; CAT:NONE; SFS:(13230040)(82310400026)(1800799024)(36860700013)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2024 18:13:12.6059 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a748adc4-8f0f-48ab-b629-08dc99f9787f X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.118.233]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS3PEPF000099DB.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6801 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
Added hairpin out of buffer counters
|
|
Message
Shani Peretz
July 1, 2024, 6:12 p.m. UTC
Added global hairpin out of buffer counter (from ethtool) Also added port-level hairpin out of buffer counter. Shani Peretz (2): net/mlx5: add global hairpin out of buffer counter net/mlx5: add hairpin out of buffer counter doc/guides/nics/mlx5.rst | 3 ++ doc/guides/rel_notes/release_24_07.rst | 2 + drivers/net/mlx5/linux/mlx5_ethdev_os.c | 9 +++++ drivers/net/mlx5/linux/mlx5_os.c | 14 ++++++- drivers/net/mlx5/mlx5.c | 4 ++ drivers/net/mlx5/mlx5.h | 4 ++ drivers/net/mlx5/mlx5_devx.c | 54 ++++++++++++++++++++++++- drivers/net/mlx5/windows/mlx5_os.c | 1 + 8 files changed, 89 insertions(+), 2 deletions(-)
Comments
Hi,
From: Shani Peretz <shperetz@nvidia.com>
Sent: Monday, July 1, 2024 9:12 PM
To: dev@dpdk.org
Cc: Shani Peretz; Maayan Kashani; Raslan Darawsheh; Dariusz Sosnowski
Subject: [PATCH 0/2] Added hairpin out of buffer counters
Added global hairpin out of buffer counter (from ethtool)
Also added port-level hairpin out of buffer counter.
Shani Peretz (2):
net/mlx5: add global hairpin out of buffer counter
net/mlx5: add hairpin out of buffer counter
doc/guides/nics/mlx5.rst | 3 ++
doc/guides/rel_notes/release_24_07.rst | 2 +
drivers/net/mlx5/linux/mlx5_ethdev_os.c | 9 +++++
drivers/net/mlx5/linux/mlx5_os.c | 14 ++++++-
drivers/net/mlx5/mlx5.c | 4 ++
drivers/net/mlx5/mlx5.h | 4 ++
drivers/net/mlx5/mlx5_devx.c | 54 ++++++++++++++++++++++++-
drivers/net/mlx5/windows/mlx5_os.c | 1 +
8 files changed, 89 insertions(+), 2 deletions(-)
--
2.34.1
series applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh