From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v3 0/4] external mempool manager Date: Tue, 12 Apr 2016 06:46:11 +0800 Message-ID: <20160411224611.GI3080@yliu-dev.sh.intel.com> References: <1455634095-4183-1-git-send-email-david.hunt@intel.com> <1457517037-71693-1-git-send-email-david.hunt@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: David Hunt Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id AE8D41BBE for ; Tue, 12 Apr 2016 00:43:35 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1457517037-71693-1-git-send-email-david.hunt@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Mar 09, 2016 at 09:50:33AM +0000, David Hunt wrote: ... > The external mempool manager needs to provide the following functions. > 1. alloc - allocates the mempool memory, and adds each object onto a ring > 2. put - puts an object back into the mempool once an application has > finished with it > 3. get - gets an object from the mempool for use by the application > 4. get_count - gets the number of available objects in the mempool > 5. free - frees the mempool memory It's a lengthy and great description, and it's a pity that you don't include it in the commit log: cover letter will not be in the history. > > For and example of a simple malloc based mempool manager, see > lib/librte_mempool/custom_mempool.c I didn't see this file. Forgot to include it? --yliu