From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH v4 00/20] Support externally allocated memory in DPDK Date: Mon, 24 Sep 2018 09:54:58 +0100 Message-ID: References: <2407291.ybRTbF1rkB@xps> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, laszlo.madarassy@ericsson.com, laszlo.vadkerti@ericsson.com, andras.kovacs@ericsson.com, winnie.tian@ericsson.com, daniel.andrasi@ericsson.com, janos.kobor@ericsson.com, geza.koblo@ericsson.com, srinath.mannam@broadcom.com, scott.branden@broadcom.com, ajit.khaparde@broadcom.com, keith.wiles@intel.com, bruce.richardson@intel.com, shreyansh.jain@nxp.com, shahafs@mellanox.com, arybchenko@solarflare.com To: Thomas Monjalon Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 3DBA71AFF for ; Mon, 24 Sep 2018 10:55:10 +0200 (CEST) In-Reply-To: <2407291.ybRTbF1rkB@xps> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 23-Sep-18 10:21 PM, Thomas Monjalon wrote: > Hi Anatoly, > > 21/09/2018 18:13, Anatoly Burakov: >> This is a proposal to enable using externally allocated memory >> in DPDK. > > About this change and previous ones, I think we may miss some > documentation about the usage and the internal design of the DPDK > memory allocation. > You already updated some doc recently: > http://git.dpdk.org/dpdk/commit/?id=b31739328 > > This is what we have currently: > http://doc.dpdk.org/guides/prog_guide/env_abstraction_layer.html#memory-segments-and-memory-zones-memzone > http://doc.dpdk.org/guides/prog_guide/env_abstraction_layer.html#malloc > http://doc.dpdk.org/guides/prog_guide/mempool_lib.html > > This is probably a good time to check this doc again. > Do you think it deserves more explanations, or maybe some figures? > Maybe this could be split into two sections - explanation of user-facing API, and explanation of its inner workings. However, I don't want for DPDK documentation to become my personal soapbox, so i'm open to suggestions on what is missing and how to organize the memory docs better :) -- Thanks, Anatoly