From patchwork Thu Dec 8 11:16:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 120581 X-Patchwork-Delegate: rasland@nvidia.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 DE06DA00C2; Thu, 8 Dec 2022 12:17:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7725640E28; Thu, 8 Dec 2022 12:17:01 +0100 (CET) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id 849B940A7E for ; Thu, 8 Dec 2022 12:17:00 +0100 (CET) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 0E14A5C00CD; Thu, 8 Dec 2022 06:16:58 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 08 Dec 2022 06:16:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=1670498218; x=1670584618; bh=UmIjmSm0h7EsSelhEMrYPLvx7 Rz/7Nv4qSbGBzvOm6s=; b=S/nwcfF6inGA+aVS47V6J+ISQC5UpAlWAlUBUZEKn wWDzXtVzjx6MWmnj07ydJs5KpVZNnkMjQixuYcp0qXMkDeo0D1gTydfGQLV8lV1D bmboIpp3BiraagTDXQbmGkAFFrX+3XaYqqXnzO6oHLv9NPDR2DIwZ2NT4PWL+uOo V1Cvf5VXPKEP0/HgihQLlZ6w0L51UcwssYWRwqh1BotFc2judV10nON2j74melIw PoZqq73RjyQcA60L/DVlpvUoxmxUZ/G7Q3dWAW6kfQurzJ3AzmNf7zPpBLLwGJ/4 dIqOYlIxOoFvhRInvp08hjvwRVj7tfRG8p7wQ+b7ntKYA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1670498218; x=1670584618; bh=UmIjmSm0h7EsSelhEMrYPLvx7Rz/7Nv4qSb GBzvOm6s=; b=LaZZBzQwfQw/q2b517PLjii731yHRfiavpqnZgoRRxvKb569Z0m qxhyHvvEGnBWTWaw0Z0+wi+Vnp0lbj+87S7215WbmbkBcle0KnpB7QNgouMrtWpk 6wBqioB7NaxRRL0Is7aDTkdAZoHsZ6smm3FY/Pb7NuHEA19TGbnosKC7mFx/rGVb nuk10f9f715mUYFodh+NAhEV7FpImX5/8TlWHWr2AZEbEiCQqCtfp8ydIVqLijKk Jooq2oUGvrm4X6hCl2hQqfJNwN9TbmLL7IBiACL3A+I6OkMZ3qnVzNL+m7Tdok5o vgm8qhvcgXmlm8XBMgvhMuqYZv5kcZ0IuFw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddtgddviecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgrshcu ofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuggftrf grthhtvghrnhepgfefledvhedvtdfhteffheelueehueelgfeifeettdeuveefkeejudef tedtgeehnecuffhomhgrihhnpehgihhthhhusghushgvrhgtohhnthgvnhhtrdgtohhmpd hrvggrughmvgdrmhgupdhgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvg ht X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 8 Dec 2022 06:16:56 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: alialnu@nvidia.com, Matan Azrad , Viacheslav Ovsiienko Subject: [PATCH] doc: update recipe for static rdma-core in mlx guides Date: Thu, 8 Dec 2022 12:16:46 +0100 Message-Id: <20221208111646.1487459-1-thomas@monjalon.net> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 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 With recent versions of rdma-core, it becomes important to install, so some non-standard compiler tricks are avoided. While at it, disabling unneeded pyVerbs and man pages. Signed-off-by: Thomas Monjalon --- doc/guides/nics/mlx4.rst | 3 ++- doc/guides/platform/mlx5.rst | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/guides/nics/mlx4.rst b/doc/guides/nics/mlx4.rst index 924ce6f64b..c6279f51d0 100644 --- a/doc/guides/nics/mlx4.rst +++ b/doc/guides/nics/mlx4.rst @@ -209,8 +209,9 @@ Current RDMA core package and Linux kernel (recommended) - Starting with rdma-core v21, static libraries can be built:: cd build - CFLAGS=-fPIC cmake -DIN_PLACE=1 -DENABLE_STATIC=1 -GNinja .. + CFLAGS=-fPIC cmake -DENABLE_STATIC=1 -DNO_PYVERBS=1 -DNO_MAN_PAGES=1 -GNinja .. ninja + ninja install .. _`RDMA core installation documentation`: https://raw.githubusercontent.com/linux-rdma/rdma-core/master/README.md diff --git a/doc/guides/platform/mlx5.rst b/doc/guides/platform/mlx5.rst index 3cc1dd29e2..5784b9a87b 100644 --- a/doc/guides/platform/mlx5.rst +++ b/doc/guides/platform/mlx5.rst @@ -162,8 +162,9 @@ https://github.com/linux-rdma/rdma-core It is possible to build rdma-core as static libraries starting with version 21:: cd build - CFLAGS=-fPIC cmake -DIN_PLACE=1 -DENABLE_STATIC=1 -GNinja .. + CFLAGS=-fPIC cmake -DENABLE_STATIC=1 -DNO_PYVERBS=1 -DNO_MAN_PAGES=1 -GNinja .. ninja + ninja install NVIDIA MLNX_OFED/EN