From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2018 01:55:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,297,1534834800"; d="scan'208";a="86033965" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.237.220.55]) ([10.237.220.55]) by orsmga003.jf.intel.com with ESMTP; 24 Sep 2018 01:54:59 -0700 To: Thomas Monjalon 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 References: <2407291.ybRTbF1rkB@xps> From: "Burakov, Anatoly" Message-ID: Date: Mon, 24 Sep 2018 09:54:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <2407291.ybRTbF1rkB@xps> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4 00/20] Support externally allocated memory in DPDK X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2018 08:55:10 -0000 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