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>
This commit is contained in:
Santosh Shukla 2017-07-20 15:59:15 +05:30 committed by Thomas Monjalon
parent caa570db61
commit c935790170

View File

@ -44,6 +44,15 @@ Deprecation Notices
PKT_RX_QINQ_STRIPPED, that are better described. The old flags and 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. 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. * ethdev: Tx offloads will no longer be enabled by default in 17.11.
Instead, the ``rte_eth_txmode`` structure will be extended with Instead, the ``rte_eth_txmode`` structure will be extended with
bit field to enable each Tx offload. bit field to enable each Tx offload.