From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id ECF8129D6 for ; Thu, 30 Jun 2016 14:00:21 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id v199so218216754wmv.0 for ; Thu, 30 Jun 2016 05:00:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=8cAypx6V43Z0Ti2RkUZtC6xRHTOyOeHmOddAsS10Gus=; b=bedVFmj5MQChW+WVN3QlPgApmG6H9YJ1MSqABCY3h1M86hOLEZb5vncsszIWl3xT8s W6p5FgF6DjaEz7FVcHGGs8z7EEi1DHeCqmO9Kcyty/i3kAoX3o/h912xMhtatu/BzqVl pq+gQ2EWryzZXLMuMafDILsb3j9F9LAjjVOC+h3jmjBs/DQEydb/hfzaVsPA9bFT7lSf ut3NGNMLBAkHihNWLHysk8KZvxcXTi3UNjVwC9E70PcRHV0+93Ruucf895C/hiEiGcJd 2FfiSgTmcyFU394KipzcGC950rd/6eFOGi0LOpYPZsi7WAY6JdwJlriWPtXyrzUj7MCz 7ZOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=8cAypx6V43Z0Ti2RkUZtC6xRHTOyOeHmOddAsS10Gus=; b=lcfmqjJPdDIo2rD+Ny0cIEBl2u4Nfwp9VwN8yvT5zxOBLTfbBQ+4LZWWDW6Yktm7wb WrnsuMWn567zB6jZjJo+9BFJfV1T8snZijdUPcO1TvjenU0ypHIlRbK90ilGjbtWqQgU Ome0airXGMwJTK6QPS5DoIqEpfLJZ1y4lHWv3VIG+5LAzvu7skh8EJGjybWnw4JN7oN2 UyRLvhdP46PlntfACDeFjcz7BwVkqviNE29ezReJE9FYvyMEL6Dxg8bZyLET20AbZKiX DTEJpUQhrSbTvZbCwqS5rCxxmqfB2sLjEF24HmP+zni+HG/yn4rDtElS+QlYTzuAj126 /K3A== X-Gm-Message-State: ALyK8tKNX7x1f0hO5bLrHbrNOpepK/W6bF1BjOEkFua5AkypG2Dbti+NU1sMgOM1+jjD2RmW X-Received: by 10.194.2.44 with SMTP id 12mr13314321wjr.61.1467288021717; Thu, 30 Jun 2016 05:00:21 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id qg5sm1474377wjc.13.2016.06.30.05.00.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jun 2016 05:00:20 -0700 (PDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, olivier.matz@6wind.com, keith.wiles@intel.com Date: Thu, 30 Jun 2016 14:00:16 +0200 Message-ID: <1585831.LcblvschXd@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1467217635-19766-1-git-send-email-bruce.richardson@intel.com> References: <1467208504-13029-1-git-send-email-bruce.richardson@intel.com> <1467217635-19766-1-git-send-email-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] mempool: rename functions with confusing names X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2016 12:00:22 -0000 2016-06-29 17:27, Bruce Richardson: > Fix this by introducing two new functions to replace the old ones, > * rte_mempool_avail_count to replace rte_mempool_count > * rte_mempool_in_use_count to replace rte_mempool_free_count This patch needs to be rebased please. > --- a/lib/librte_mempool/rte_mempool_version.map > +++ b/lib/librte_mempool/rte_mempool_version.map > @@ -32,5 +32,6 @@ DPDK_16.07 { > rte_mempool_populate_virt; > rte_mempool_register_ops; > rte_mempool_set_ops_byname; > + rte_mempool_avail_count; The "in_use_count" function is missing. Please keep alphabetical order.