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 9F31845C0B; Tue, 29 Oct 2024 14:43:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6FDC242E10; Tue, 29 Oct 2024 14:43:41 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2045.outbound.protection.outlook.com [40.107.237.45]) by mails.dpdk.org (Postfix) with ESMTP id 3F35440144 for ; Tue, 29 Oct 2024 14:43:40 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=n/LgRYoJ3x4rIgURH7Xt8m6CG6deVRSP+Rt1KJ4gL+w11rEQdR+kHBxtxDzJ9wfnqb8+eZpwQzcQw7C9DX4Jl4y0vbKwpbwp6+dl445BW8t9+Fbf9pJf9/VEQA8DDUXditMNHMiE8JMTBQB999mbI/kTfdy/FOdl2+qNB/ZbxJCt0xe9BIeAVlA+aYQW6evhFK7AcSw++RQ8ba5HjNZ8ljsT/fB03OJftOM9gZr/qZuarLTVP4cKqq/1SibqtzVZIG4aZoB3HAqhfMTcYb5SD78mVNJG3YRrqK/xTJHAh2Nsw7Foq8EQ37N7RBqBlKGIrQjwy8Md4s+Oir2IqRzuqQ== 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=/sNqEA0x7xds7bES1xfdAnq+ILpCEa3BjeLmbsUoWcQ=; b=TTsYYXN+ek2DdEkmMhcETWZGiyYVukIkJ1so7WGB7AfvDO4Cwk0jGhKp8wyWmGcTpLOxhdYqaSVQWRtz85sHVzE4+n59oqouGbshEFOJ/m+vzAx+Fe5bNzYTerVn9WZeYOCoA+BuGgQCDSo27rLEgSD75PizDW8nyEvI1CDEnC8aXnDevP3AnkVMpLAwSLdDvFnJKh0xhS3OjgXrn9IzNoGQc3bny3lgccISvhPSEYkv5AH46Q75m2lHlqn4VHxV1Rh2Q/LPbg/kEVVNhkgE8BB6sR+xIv9fFQmUVPXyxkRHCJv1hYAUY1SW6wTYBQu1Y1iVTv2semWEJA6TtkwcMA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=monjalon.net 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=/sNqEA0x7xds7bES1xfdAnq+ILpCEa3BjeLmbsUoWcQ=; b=lmwCONwbtkkwtGeZNpfzfsr9JsCFO/dMzfNxN1loBQKwS1PugQBb3AWjqAG/KqD2xHT2p/wtMChK2dsJLSqmKvAxq/h+UEoAcbngly+1r6245a14hgQSvy3d67S5nRsQv49DutN5AVkfxZ2W0SmRmeJOmgcgGsJiZpHuVDaG3YNAGjHRrw8QvAixMhZPezb/HstHSo5SLRWzpDztHEe6nEzC7WrMqylMTbHsIff/Ef0klZEhJDhxwt9sULZ9wepIuiS7E41kNktuql7mRLRKKMHoFdb41tOfWcyFTh0/23RVxckvA0SbGrZijYclhgLLnurNeQZtRGt5RHRlSBojAw== Received: from PH8PR15CA0020.namprd15.prod.outlook.com (2603:10b6:510:2d2::20) by SA3PR12MB7880.namprd12.prod.outlook.com (2603:10b6:806:305::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.27; Tue, 29 Oct 2024 13:43:37 +0000 Received: from SN1PEPF000252A1.namprd05.prod.outlook.com (2603:10b6:510:2d2:cafe::fd) by PH8PR15CA0020.outlook.office365.com (2603:10b6:510:2d2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.17 via Frontend Transport; Tue, 29 Oct 2024 13:43:37 +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 SN1PEPF000252A1.mail.protection.outlook.com (10.167.242.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.16 via Frontend Transport; Tue, 29 Oct 2024 13:43:36 +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; Tue, 29 Oct 2024 06:43:14 -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.1544.4; Tue, 29 Oct 2024 06:43:12 -0700 From: "Minggang Li(Gavin)" To: , , , CC: , Subject: [PATCH V3 0/7] port probe time optimization Date: Tue, 29 Oct 2024 15:42:49 +0200 Message-ID: <20241029134256.874767-1-gavinl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241028091822.860660-8-gavinl@nvidia.com> References: <20241028091822.860660-8-gavinl@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: SN1PEPF000252A1:EE_|SA3PR12MB7880:EE_ X-MS-Office365-Filtering-Correlation-Id: ed4bc7d1-9aff-4c43-e8f7-08dcf81fb066 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|36860700013|82310400026|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?UvAGrTPFh+Y/4IYyCvRva2BLMJi45VItsMTfvbwjOkJ6KZWfiUpRN+H/gOyG?= =?us-ascii?Q?Iau7skPo5lYwmM+7EPLmbbT06HCUzv9pfKEX4BqjQdDUoAZTUwD0/Xmcl1Vb?= =?us-ascii?Q?FuE1hfec1GwFeAnDFszCIWZ/82ByOxrv6P/nEvNMTV9+WBXcJ0i3d/XwaqFh?= =?us-ascii?Q?3S5jDIrvzBxKJnu/Xwv0+Hxnujgd4aaI9i46Ju7jmZqtKvGZE8XgAaUqirwH?= =?us-ascii?Q?ef7YW61vNE5P4SORtonwAovc75P5/qAR25MX4vPSPC0fEmIygcMDqMsH6zdx?= =?us-ascii?Q?4uhVxHsKAT/Q3nTzeS4tNONxx2JqvPHfNC3sFEjbaDGaxISCWE5ZuyOMddMc?= =?us-ascii?Q?4/KEk26dsVXRhrJ9bQxcjFZds6GmLA7brzXPIteYseG6EEZoU0pSnFU5FB30?= =?us-ascii?Q?mDZ843PExcoXalZJfOSAztQloCSDpaTHyKOLDyNc6VoZX0+KIX97Jnq0MM2P?= =?us-ascii?Q?zNwzHAfLQr54/fES4TYVw6DrRU5sBHISfjJ2Q7HCfJqfxjbYe4yIDBLw/rjc?= =?us-ascii?Q?mx2vDdEhDeWFL4RX0/v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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)(82310400026)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2024 13:43:36.5570 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ed4bc7d1-9aff-4c43-e8f7-08dcf81fb066 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: SN1PEPF000252A1.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB7880 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch series introduced a feature that the time to probe a VF/SF will be reduced greatly in large scale, eg hundreds of VF/SFs. This feature is controlled through the "probe_opt_en" device argument. Setting it to a non-zero value indicates the application will enable this functionality when probing a device. This feature relies on a feature of RDMA driver to be release in incoming upstream kernel 6.13 or the equivalent in OFED 24.10, ie. RDMA monitor. For further information on the devargs limitation, see "doc/guides/nics/mlx5.rst". Minggang Li(Gavin) (5): mailmap: update user name common/mlx5: fix Netlink socket leak common/mlx5: add RDMA monitor event awareness mlx5: use RDMA Netlink to update port information mlx5: add backward compatibility for RDMA monitor --- changelog: v1->v2 - add feature doc and upstream kernel dependency in release notes v2->v3 - revise release notes --- Rongwei Liu (2): net/mlx5: optimize device probing net/mlx5: add new devargs to control probe optimization .mailmap | 2 +- doc/guides/nics/mlx5.rst | 13 + doc/guides/rel_notes/release_24_11.rst | 14 + drivers/common/mlx5/linux/meson.build | 10 + drivers/common/mlx5/linux/mlx5_common_os.h | 6 + drivers/common/mlx5/linux/mlx5_nl.c | 262 ++++++++++++++++--- drivers/common/mlx5/linux/mlx5_nl.h | 36 ++- drivers/common/mlx5/mlx5_common.c | 20 ++ drivers/common/mlx5/mlx5_common.h | 15 ++ drivers/common/mlx5/version.map | 3 + drivers/common/mlx5/windows/mlx5_common_os.h | 5 + drivers/net/mlx5/linux/mlx5_ethdev_os.c | 136 ++++++++++ drivers/net/mlx5/linux/mlx5_os.c | 144 ++++++++-- drivers/net/mlx5/linux/mlx5_os.h | 6 - drivers/net/mlx5/mlx5.h | 3 + drivers/net/mlx5/windows/mlx5_os.h | 5 - 16 files changed, 605 insertions(+), 75 deletions(-) -- 2.34.1