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 0AD5EA00C3; Sun, 27 Feb 2022 17:49:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE2454068C; Sun, 27 Feb 2022 17:49:24 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 407B340683 for ; Sun, 27 Feb 2022 17:49:23 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id EB5295C0164; Sun, 27 Feb 2022 11:49:22 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 27 Feb 2022 11:49:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; bh=Me6Woo1Jn6mZeB buT8BA0AFZrYA4rskV2W7Hs35S6lE=; b=lVKUhWx/mRwo7LuP2laFLh5ZhY1Nfc rPq3rWOhyaL7YY65Y+dER9kiatvA1cgH48vIW8cVkljwjDnev8Fvq4lENIIHn/Ya k7OC9KRt9A6lkNyVgQyh7ZOGPp7k2I7PZftqUN3jJzNUQB96Fh9sOQVsK0hHXX71 c+WAh9VoRQOtm+oA9yXo9yJBu63pCwgqfNRTgcdtEJDeCBnALP46mA6/mlGVa9Dc BhRmrst7fo2iFpDrOftosJLJCIJcEgtydRm6AtwGLvLcyDhGCPR4HrGmxwXpedii eO/kip4es7/HufVDap4cs+1gdt9GLfuNwADKBN1G+LkHbwK3pbKjOHWg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=Me6Woo1Jn6mZeBbuT8BA0AFZrYA4rskV2W7Hs35S6 lE=; b=G7XXcxjZHKIZkprG8DvYPDNnPnWwT3KxlalK7YUfGGQixZ+l1ueGBgQ9Q yzbQrkf5lck/v0yBGp97SQ6s2+4a9cFqEBXbqK5Fbz0kDVk7fiM2VXdZQD2E3ZKa XTF0vLc8BbsZ+PBy4RbxG0Td9X8P4qFMrj4p2ow0rZ9iPGivhcAKlrRG4VOnlZjO jUBjxMrICyPkHATD6iMD8rERBnBj5CTvk4uHbCazEONC8XzLYJhzgJkOT5n1x8t9 5JlphSFocY4r84alzFukLXD/jhfpRg58d/tVeFqtYTSOWNQuhkaFK3yONzkG/TZB 0vk1XNN4bgMVZRpwW4g1bPuh6x2mg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrleekgdeludcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 27 Feb 2022 11:49:22 -0500 (EST) From: Thomas Monjalon To: Elena Agostini Cc: dev@dpdk.org Subject: Re: [PATCH v4 2/2] gpu/cuda: CPU map GPU memory with GDRCopy Date: Sun, 27 Feb 2022 17:49:21 +0100 Message-ID: <5327719.44csPzL39Z@thomas> In-Reply-To: <20220225031226.8348-2-eagostini@nvidia.com> References: <20220221224433.26096-1-eagostini@nvidia.com> <20220225031226.8348-1-eagostini@nvidia.com> <20220225031226.8348-2-eagostini@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 25/02/2022 04:12, eagostini@nvidia.com: > From: Elena Agostini > > To enable the gpudev rte_gpu_mem_cpu_map feature to expose > GPU memory to the CPU, the GPU CUDA driver library needs > the GDRCopy library and driver. > > If DPDK is built without GDRCopy, the GPU CUDA driver returns > error if the is invoked rte_gpu_mem_cpu_map. > > All the others GPU CUDA driver functionalities are not affected by > the absence of GDRCopy, thus this is an optional functionality > that can be enabled in the GPU CUDA driver. > > CUDA driver documentation has been updated accordingly. > > Signed-off-by: Elena Agostini > > ---- Should be only 3 dashes to be interpreted by git. > > Changelog: > - Fix checkpatch and doc build issue > - Added common header to cuda.c and gdrcopy.c Applied, thanks.