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 05565A0A0F; Fri, 4 Jun 2021 12:28:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E6254068F; Fri, 4 Jun 2021 12:28:45 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id A601840147 for ; Fri, 4 Jun 2021 12:28:43 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 32CA25C0097; Fri, 4 Jun 2021 06:28:43 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 04 Jun 2021 06:28:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= Q2n9Wr8Rop27iBCrZ+b5mgEup45tILpZ4Yd11BPfF+U=; b=cLL29Mzx8mKiHIYN DpgC0EtBHfzbLxAj23sjiruGOvAT1urP9zPUFZbJGyxpkQNnl9w8TAIFEQ9IWCA8 ycopGZL6uBnTxOcsomESpGbe28nO2J54BPqXba+mmjXdEnj/JwDmvhbv2ByNsS+7 qCGOFFRQ10KXM7pQnMZSAX7WmWpkREFKE1fu7WExKKGeX2nTAtm+pt9EMYbqKpX5 G8qb8URmOdsdRRoOjU5+Gv/PDEDPLNFNGBlTHHSgyfPwK31W47+M75LgqS8/enpl WuGyR5GcXiAyxnBmTltShs1kM1KE6un71/87jYCBF+Sk5UDbV5Dhvtway3j/H819 oZDtmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=Q2n9Wr8Rop27iBCrZ+b5mgEup45tILpZ4Yd11BPfF +U=; b=HN/xyfREubpwbiCrYvaKOgdGxdTTm1Hi52KlGCWnHjCvjpftERhmXn7XW WpIHGAgkkQKTqLoFulHOlzLIIRGVBuvZKpMEKhmPC0UV7TfCN5O0hBVLzKDvya0Q 4sZo18KDRPIZB2mwA2OIE/j8LGZ/M7NU+9FPj31nPCPyHoJIbg8nNs+s9d+zTY2i zwfKUCpeUHoJ5JwUdToG+Ellg2mQ0dXxNd7Mu/Sr5ZY1/G7oiJca4BDvn8dhFGsg ZTUJ3MkUTxznqQFts+sYEDwAFNLCb2IGIGzCAH+GohLX4pApIm3iyF26IJeLmt0i 7dGpxPPw72w3mTkh+5ad3NabPU1CA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedtuddgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 4 Jun 2021 06:28:41 -0400 (EDT) From: Thomas Monjalon To: Jerin Jacob , Ferruh Yigit Cc: dev@dpdk.org, Elena Agostini Date: Fri, 04 Jun 2021 12:28:38 +0200 Message-ID: <2043513.c5GKn8Mpaa@thomas> In-Reply-To: References: <20210602203531.2288645-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] gpudev: introduce memory API 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 Sender: "dev" 03/06/2021 11:33, Ferruh Yigit: > On 6/3/2021 8:47 AM, Jerin Jacob wrote: > > On Thu, Jun 3, 2021 at 2:05 AM Thomas Monjalon wrote: > >> + [gpudev] (@ref rte_gpudev.h), > > > > Since this device does not have a queue etc? Shouldn't make it a > > library like mempool with vendor-defined ops? > > +1 > > Current RFC announces additional memory allocation capabilities, which can suits > better as extension to existing memory related library instead of a new device > abstraction library. It is not replacing mempool. It is more at the same level as EAL memory management: allocate simple buffer, but with the exception it is done on a specific device, so it requires a device ID. The other reason it needs to be a full library is that it will start a workload on the GPU and get completion notification so we can integrate the GPU workload in a packet processing pipeline.