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 65E7F428F8 for ; Sun, 9 Apr 2023 17:28:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 60ABA40A80; Sun, 9 Apr 2023 17:28:32 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2043.outbound.protection.outlook.com [40.107.237.43]) by mails.dpdk.org (Postfix) with ESMTP id 997C440141 for ; Sun, 9 Apr 2023 17:28:31 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fPLVEpRYlI7pCDGhZvEitsY6pgS/2oozHjmz7pnlvwgqY3j/NlpL9Xin8jElJjb2+JVIfN8O67+CXaZnFvXPDGc60Uv0ZQhuf6Ycq8EtLYb/B2Zf9WoW6Wgc4NFZX9bb/9lEAtX+4cEfaTsNBCDLaMGZ7ZtBkdqjtvvvYMPiPlvjnXh3k5M6LBjPOUSuNhjaYKjVcLXbVKAJB/r/b2fIxO45Kmv7BLl3PO0grSwZeZAaEHYw2ga1wfxK90kvWXRZM9BNunRckopMJLDYXadml/hPhUVv8zSjXB+AT1vuhBN8Ul4fslvfdq2mqatlp1dhicn52/lr5ME8962K8LVv8A== 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=ltbWCvhz2M7/NOZRIf8JdUQvCJty0neuZJUjLbgiq40=; b=l/PzOK96VJBxROT4roGYLKYHUmBVPbjtlNZznki/Ze2iqsBIxtrTQRmBoQYhY4VOFQ3aoqpzl0jSPU8VCMO9vZaAeS+EdxkCFcoZPoFeiBKKXxHhQjUf9w4xnkvFinOK8mrNp0n9Ybj588nvWABZDQujO+sQAe83wSQsTbfVjctDGmjFhUKC312YkL3WXyofNqWpKolB/NWu4XtJCrIdNpbUCrW+aHZgADdCFKSxg0AEwlTmfi9F4whar8sl9tqdH9CR9eIQEaCDBuKBngP1uXfB6ETGPgcSfeIi41Ka+hk7W/TUcqkWI0xfbo8Al8uvFOu0q2bVUv0Z4gEr59/ffg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=microsoft.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 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=ltbWCvhz2M7/NOZRIf8JdUQvCJty0neuZJUjLbgiq40=; b=WtPAE4PlZ3O4x0zfyZ3O9zNAo47pkhTmQ8HEAmTPpgBkp0EWPCXp2G01iWzHg9PNv1mWfQTxcEd5Dq+vZtcdpKhty5DkU+YZmM8Kc+Zx46BLIgJPhZdF0uP1CsHRGSLnLtpkO41FrxjdLoe6xwvcfVj4kn8yZrRo7AGQprHxTcXU0vhF70rykvi1FeluTddx54HkxIiSxKdyt+j5Z1kTkudavrVhUz+jcKrjfuK8RNm5LRyiFW+lGRkGaBi91EoDNThCV+iToprwvvDae3xNCryWXnjjvOhvqOH3pAgO3VtDJ9pAZDaS15mwQfoTAB2ZqSl/3r//CSdr50B5+Dk+Jg== Received: from BN9PR03CA0073.namprd03.prod.outlook.com (2603:10b6:408:fc::18) by SN7PR12MB8820.namprd12.prod.outlook.com (2603:10b6:806:341::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.36; Sun, 9 Apr 2023 15:28:28 +0000 Received: from BN8NAM11FT040.eop-nam11.prod.protection.outlook.com (2603:10b6:408:fc:cafe::6c) by BN9PR03CA0073.outlook.office365.com (2603:10b6:408:fc::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.39 via Frontend Transport; Sun, 9 Apr 2023 15:28:28 +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 BN8NAM11FT040.mail.protection.outlook.com (10.13.177.166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.25 via Frontend Transport; Sun, 9 Apr 2023 15:28:27 +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.5; Sun, 9 Apr 2023 08:28:20 -0700 Received: from nvidia.com (10.126.231.37) 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.986.37; Sun, 9 Apr 2023 08:28:19 -0700 From: Xueming Li To: Long Li CC: Ferruh Yigit , dpdk stable Subject: patch 'net/mana: enable driver by default' has been queued to stable release 22.11.2 Date: Sun, 9 Apr 2023 23:23:39 +0800 Message-ID: <20230409152529.5308-32-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230409152529.5308-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230409152529.5308-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.37] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT040:EE_|SN7PR12MB8820:EE_ X-MS-Office365-Filtering-Correlation-Id: a06f5665-d490-4135-16d9-08db390f1148 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; X-Microsoft-Antispam-Message-Info: BPYuAXuw2LCcRugaCB9aI1XvZSNlKXO9RGrdfXvMo7EcqW9Yp0WHEf/k6A3KNPCQ5C8wugMOQIdKWgBn+VdLOtBeWUkLkfMODMcpuhF2wff/KnFOCFDiLwbKaoBUyJW0r2UU6IkSmF4vAvOKJxv0DDyvZ+voEENTyTcrjRXdqsPhRW++Njzm0lUfBXD+E/zeNWQRVkLbSmVPc0TVx9iDMTM9/e63n8QV+kQZQ4KjGZSiA3536Yttt+HN3C+n7Ltw+73Q2UDr/0F5y2N0m/FFpVS30pcuG24/lRoOT2qG9JGYAMPBdaFUN6ZSr1PANhcU+l84H2FCoctEQ6hmjVsD5sFoIhJnf5+0cVMaC1hQ6jOTHcR9qCmgrOFqKyG4v+Au36SNbEoE5bQWSaXpESXkUlSrpZDH77SLTp48PvHlx/6ykghtoCmiQTAIAh4qi007iOhSjd21XxOmJlRWwLwJpnO7TcpO6RiMNfz14kRefoH12HDWvkMGGz06FpKBJ9+gjB/IvvGL/9OB6OOPW+Yh7s83QJgrbM3cG5eSY+q1NEfaVG+IKwbzBO6RLi/BJrZBW/ZW7yzu4R21ApE5krQrwuHJoiFzHPmMTn+o80wvD/2a7Xup6z60QLfm3gM/BvSmN2MblJ4kZyjWcE47DbkIPoWe+l7U1RkVAWsh0p22VVNVW86OPJJc/Q58ZWPwS1wD44wA18FCSZC1hVJZpAkA1LO0CeqBbMYncgtA/+HEe8bKtpccxWds6Bz3Xx3psbJobPa/adAdhF2ph+SRlzzc6GYt7y2iPVhwP2ZFLosVZNWSsYodJfDLAV7dfAGdmf89zaP3xLiaJpm6No4gmZiHRQ== 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:(13230028)(4636009)(346002)(136003)(396003)(39860400002)(376002)(451199021)(40470700004)(36840700001)(46966006)(45080400002)(478600001)(7696005)(54906003)(316002)(53546011)(1076003)(26005)(16526019)(6286002)(186003)(6666004)(966005)(2906002)(4326008)(70586007)(70206006)(5660300002)(8676002)(6916009)(41300700001)(8936002)(82310400005)(7636003)(356005)(82740400003)(55016003)(86362001)(40480700001)(36756003)(40460700003)(47076005)(83380400001)(2616005)(426003)(336012)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2023 15:28:27.6849 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a06f5665-d490-4135-16d9-08db390f1148 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: BN8NAM11FT040.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8820 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 22.11.2 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/11/23. 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=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging/commit/62324129c14d18fdb88b2a2af51ab1ce7ad704c7 Thanks. Xueming Li --- >From 62324129c14d18fdb88b2a2af51ab1ce7ad704c7 Mon Sep 17 00:00:00 2001 From: Long Li Date: Thu, 19 Jan 2023 18:19:27 -0800 Subject: [PATCH] net/mana: enable driver by default Cc: Xueming Li [ upstream commit 807440416cd9eddf571954c7fd355c0b48fa9f14 ] The required dependencies for mana from rdma-core 44 and Linux kernel 6.2 have been released. Fixes: 517ed6e2d590 ("net/mana: add basic driver with build environment") Signed-off-by: Long Li Acked-by: Ferruh Yigit --- MAINTAINERS | 2 +- doc/guides/nics/mana.rst | 8 +++----- drivers/net/meson.build | 1 + 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 22ef2ea4b9..1338ca00ba 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -850,7 +850,7 @@ F: buildtools/options-ibverbs-static.sh F: doc/guides/nics/mlx5.rst F: doc/guides/nics/features/mlx5.ini -Microsoft mana - EXPERIMENTAL +Microsoft mana M: Long Li F: drivers/net/mana/ F: doc/guides/nics/mana.rst diff --git a/doc/guides/nics/mana.rst b/doc/guides/nics/mana.rst index 005c0b2ca7..341146c4e7 100644 --- a/doc/guides/nics/mana.rst +++ b/doc/guides/nics/mana.rst @@ -29,6 +29,7 @@ and must be installed separately: It allows slow and privileged operations (context initialization, hardware resources allocations) to be managed by the kernel and fast operations to never leave user space. + The minimum required rdma-core version is v44. In most cases, rdma-core is shipped as a package with an OS distribution. User can also install the upstream version of the rdma-core from @@ -39,15 +40,14 @@ and must be installed separately: Low-level user space driver library for Microsoft Azure Network Adapter devices, it is automatically loaded by libibverbs. - - The support of MANA is not merged in rdma-core 42. + The minimum required version of rdma-core with libmana is v44. - **Kernel modules** They provide the kernel-side verbs API and low level device drivers that manage actual hardware initialization and resources sharing with user space processes. - The minimum required Linux kernel version is 6.1. + The minimum required Linux kernel version is 6.2. Unlike most other PMDs, these modules must remain loaded and bound to their devices: @@ -56,8 +56,6 @@ and must be installed separately: - mana_ib: InifiniBand device driver. - ib_uverbs: user space driver for verbs (entry point for libibverbs). - The support of MANA is planned in Linux 6.2. - Driver compilation and testing ------------------------------ diff --git a/drivers/net/meson.build b/drivers/net/meson.build index 6470bf3636..f83a6de117 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -36,6 +36,7 @@ drivers = [ 'ixgbe', 'kni', 'liquidio', + 'mana', 'memif', 'mlx4', 'mlx5', -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-04-09 21:45:39.599469800 +0800 +++ 0031-net-mana-enable-driver-by-default.patch 2023-04-09 21:45:38.609042200 +0800 @@ -1 +1 @@ -From 807440416cd9eddf571954c7fd355c0b48fa9f14 Mon Sep 17 00:00:00 2001 +From 62324129c14d18fdb88b2a2af51ab1ce7ad704c7 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 807440416cd9eddf571954c7fd355c0b48fa9f14 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index 3495946d0f..ffbf91296e 100644 +index 22ef2ea4b9..1338ca00ba 100644 @@ -24 +26 @@ -@@ -853,7 +853,7 @@ F: buildtools/options-ibverbs-static.sh +@@ -850,7 +850,7 @@ F: buildtools/options-ibverbs-static.sh