doc: announce ethdev port freeing on close operation

Since DPDK 18.11, some drivers are migrating to a new behaviour,
releasing port resources on close.
The temporary flag RTE_ETH_DEV_CLOSE_REMOVE triggers this new mode
in the migrated drivers.
After 2 years, the flag and the old behaviour will be removed.
Last drivers not migrated will have to complete the switch.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
This commit is contained in:
Thomas Monjalon 2020-08-04 11:20:14 +02:00
parent 67c28d4b77
commit 7efbaa7b4e

View File

@ -137,6 +137,12 @@ Deprecation Notices
- ``rte_eth_dev_stop``
- ``rte_eth_dev_close``
* ethdev: The temporary flag RTE_ETH_DEV_CLOSE_REMOVE will be removed in 20.11.
As a consequence, the new behaviour introduced in 18.11 will be effective
for all drivers: generic port resources are freed on close operation.
Private resources are expected to be released in the ``dev_close`` callback.
More details in http://inbox.dpdk.org/dev/5248162.j6AOsuQRmx@thomas/
* ethdev: New offload flags ``DEV_RX_OFFLOAD_FLOW_MARK`` will be added in 19.11.
This will allow application to enable or disable PMDs from updating
``rte_mbuf::hash::fdir``.