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 658E1A00BE; Thu, 10 Feb 2022 16:12:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A2B342739; Thu, 10 Feb 2022 16:12:22 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 667CD426EE for ; Thu, 10 Feb 2022 16:12:21 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 181BD5C00B0; Thu, 10 Feb 2022 10:12:21 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 10 Feb 2022 10:12:21 -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=5Xb+N5DbWt6CiU PnUQw1fqiYeiAV3Tmeq9xoWsy7qgY=; b=qfAn3dfBwj6l7zkngHOoEvNR/ulM/8 qS4Q+XRK5e2JfN1danvqArLtrbHKq+5HRRyaVUGOfVw8eAWTwMYUbjZ0BnJ/iVyF UQA9SLXbtY235tRbR5F4h2OVdO9/OLcL9x+ec7YOU8JIeu/sxgRxchd2RYaWaPGk e+PP27GR3GUtIchfuYs6l+D9IcJ4RJVV5qyLxzngH5Ewm8mZ75lYDmCPXk6zmnFA tCl2nq9krRuLtYIv0vUadL2MAy/fHT/2mZpAbRcwMptP0mKMepUcItrLuvZDRFRw S4hV42hnzNMyiLC/va2Cw5CkUuiYZ4Zy6LhLHPu2OqelIPXiuDlkUbJQ== 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=5Xb+N5DbWt6CiUPnUQw1fqiYeiAV3Tmeq9xoWsy7q gY=; b=RoroNfS1MvnWJvM4lZ8HjjQub3u85hWWJgHVgOCmB2PKPVrYf/eUBP/fG ucvMkajeGxs5Aqqn9x39xa5PmH/80Gn1zhlJ3a/aNyZBaK/yVZThLI0Os9N4z0o8 KGLhr8eXYcole1HltFG4dwe0dmrf80wmolh7XQa2B+DGeZjD34y1rdYjdfDomQSv e06jfBOX77qU7LP+tzm62JQulUVm0k4T2FOw9xcz9h7rV7LdO9nH/wzha6dd8EcH FNfkcjgv2zJ5qfRLJdQyyZc/FPoeqH3guUoJtftEFB5mUwC/3fyGX1GOe96YnxB7 OKObFUZEE+kWpmzjcOIEg80FuDc4Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddriedugdejvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 10 Feb 2022 10:12:20 -0500 (EST) From: Thomas Monjalon To: Elena Agostini Cc: dev@dpdk.org Subject: Re: [PATCH v5 1/2] gpudev: expose GPU memory to CPU Date: Thu, 10 Feb 2022 16:12:18 +0100 Message-ID: <4570124.rnE6jSC6OK@thomas> In-Reply-To: <20220127035029.12920-1-eagostini@nvidia.com> References: <20220104023408.13379-1-eagostini@nvidia.com> <20220127035029.12920-1-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 27/01/2022 04:50, eagostini@nvidia.com: > From: Elena Agostini > > Enable the possibility to expose a GPU memory area and make it > accessible from the CPU. > > GPU memory has to be allocated via rte_gpu_mem_alloc(). > > This patch allows the gpudev library to map (and unmap), > through the GPU driver, a chunk of GPU memory and to return > a memory pointer usable by the CPU to access the GPU memory area. > > Signed-off-by: Elena Agostini Squashed and applied, thanks.