From patchwork Fri Jan 20 02:19:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Long Li X-Patchwork-Id: 122382 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: 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 6EFA942424; Fri, 20 Jan 2023 03:19:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 540A540223; Fri, 20 Jan 2023 03:19:38 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id A8031400D5 for ; Fri, 20 Jan 2023 03:19:36 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1004) id ED3C320E0A1E; Thu, 19 Jan 2023 18:19:35 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com ED3C320E0A1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxonhyperv.com; s=default; t=1674181175; bh=HdHHLtDZOTBcJG9CAmr4pZt/rQBldvgGbbBAj9F5MFQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=EiKOpbiY3OUnPtSsVwvadBVMG9RgpRmqPKfsP6fErd+YHRE9M/KKHdsRFKQdjIENR PteJz9ZDl0IyCIoADoU7mqgOyQCEGRqH9OJg6p4O9vTBF90UC8ZDeS2JC+iqWKzuA3 11eKGFecHAGz2YP1AyhVn/Gqz8ljuXMuIjP2tRys= From: longli@linuxonhyperv.com To: Ferruh Yigit Cc: dev@dpdk.org, Ajay Sharma , Long Li Subject: [PATCH 1/2] net/mana: add version information for dependencies Date: Thu, 19 Jan 2023 18:19:27 -0800 Message-Id: <1674181168-31167-1-git-send-email-longli@linuxonhyperv.com> X-Mailer: git-send-email 1.8.3.1 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: , Reply-To: longli@microsoft.com Errors-To: dev-bounces@dpdk.org From: Long Li The required dependencies for mana from rdma-core and Linux kernel have been released. Add those information to the doc. Fixes: 517ed6e2d590 ("net/mana: add basic driver with build environment") Signed-off-by: Long Li Acked-by: Ferruh Yigit --- doc/guides/nics/mana.rst | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 ------------------------------ From patchwork Fri Jan 20 02:19:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Long Li X-Patchwork-Id: 122383 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: 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 5752442424; Fri, 20 Jan 2023 03:19:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8E66442D3D; Fri, 20 Jan 2023 03:19:45 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id A6F2F400D5 for ; Fri, 20 Jan 2023 03:19:43 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1004) id 03DE820E0A4C; Thu, 19 Jan 2023 18:19:43 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 03DE820E0A4C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxonhyperv.com; s=default; t=1674181183; bh=97Jq5pz8L0rpzyYvBZh1HTB77CGQEY7r9IxFMg5jsZE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:Reply-To:From; b=SdRkP9eySg48J40nX59ICvF5h37P7dboT18euyiJur5xTPf7Vcw7oI0xpx1Y311Tb txa9lhXJfXXCexVor6lGUX07FopUFk/W4nRwKlOJWnSMf066cafMOpyOZ57XpLtA2W 6TAVPRaMB/ehxesx0lQUc1LntDJ+0voq5CjXr0gs= From: longli@linuxonhyperv.com To: Ferruh Yigit Cc: dev@dpdk.org, Ajay Sharma , Long Li Subject: [PATCH 2/2] net/mana: enable driver by default Date: Thu, 19 Jan 2023 18:19:28 -0800 Message-Id: <1674181168-31167-2-git-send-email-longli@linuxonhyperv.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1674181168-31167-1-git-send-email-longli@linuxonhyperv.com> References: <1674181168-31167-1-git-send-email-longli@linuxonhyperv.com> 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: , Reply-To: longli@microsoft.com Errors-To: dev-bounces@dpdk.org From: Long Li The dependencies of mana have been released in rdma-core v44 and Linux kernel 6.2. Signed-off-by: Long Li --- MAINTAINERS | 2 +- drivers/net/meson.build | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9a0f416d2e..702fc3c60b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -853,7 +853,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/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',