From mboxrd@z Thu Jan 1 00:00:00 1970 From: Santosh Shukla Subject: [PATCH] mempool: add notice to change mempool API/ABI Date: Thu, 13 Jul 2017 09:12:31 +0000 Message-ID: <20170713091231.13314-1-santosh.shukla@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain Cc: thomas.monjalon@6wind.com, jerin.jacob@caviumnetworks.com, Santosh Shukla To: olivier.matz@6wind.com, dev@dpdk.org Return-path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0043.outbound.protection.outlook.com [104.47.34.43]) by dpdk.org (Postfix) with ESMTP id E2BBB29D9 for ; Thu, 13 Jul 2017 11:13:22 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" An API/ABI change is planned for 17.11 to change following * Remove unused flag param from rte_mempool_generic_get and _put. * Change data type for mempool 'flag' from int to unsigned int. Refer [1]. * Add struct rte_mempool * param into func rte_mempool_xmem_size, rte_mempool_xmem_usage to make it mempool aware. Refer [2]. [1] http://dpdk.org/dev/patchwork/patch/25603/ [2] http://dpdk.org/dev/patchwork/patch/25605/ Signed-off-by: Santosh Shukla --- doc/guides/rel_notes/deprecation.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 257dcba32..7abb30f5f 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -64,3 +64,11 @@ Deprecation Notices be removed in 17.11: - ``rte_eal_parse_devargs_str``, replaced by ``rte_eal_devargs_parse`` + +* mempool: The following will be modified in 17.11: + - ``rte_mempool_xmem_size`` and ``rte_mempool_xmem_usage`` need to know + the mempool flag status so adding new param rte_mempool in those API. + - Removing __rte_unused int flag param from ``rte_mempool_generic_put`` + and ``rte_mempool_generic_get`` API. + - ``rte_mempool`` flags data type will changed from int to + unsigned int. -- 2.13.0