summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantosh Shukla <santosh.shukla@caviumnetworks.com>2017-07-20 15:59:15 +0530
committerThomas Monjalon <thomas@monjalon.net>2017-08-08 02:07:13 +0200
commitc9357901704ec5697a2e9918d273e6f2542a0bfd (patch)
tree79a8ed55a762b95f1dc3d912b9a272f7aa92256b
parentcaa570db61307e07efc461cf558ec291a3e71b29 (diff)
downloaddpdk-c9357901704ec5697a2e9918d273e6f2542a0bfd.zip
dpdk-c9357901704ec5697a2e9918d273e6f2542a0bfd.tar.gz
dpdk-c9357901704ec5697a2e9918d273e6f2542a0bfd.tar.xz
doc: announce API changes for mempool
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 <santosh.shukla@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
-rw-r--r--doc/guides/rel_notes/deprecation.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 8793e28..72d1f35 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -44,6 +44,15 @@ Deprecation Notices
PKT_RX_QINQ_STRIPPED, that are better described. The old flags and
their behavior will be kept until 17.08 and will be removed in 17.11.
+* 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.
+
* ethdev: Tx offloads will no longer be enabled by default in 17.11.
Instead, the ``rte_eth_txmode`` structure will be extended with
bit field to enable each Tx offload.