From: Thomas Monjalon Date: Mon, 3 Aug 2020 15:33:09 +0000 (+0200) Subject: doc: announce deprecation of port mirroring API X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=41e94ba227a10ddd26c9f1febd7b0cf403786cd1;p=dpdk.git doc: announce deprecation of port mirroring API A new API is planned to be introduced for sampling and mirroring with rte_flow. It should be more generic and allow more use cases. This deprecation is to show the direction, avoiding overlapping APIs. Signed-off-by: Thomas Monjalon Acked-by: Jerin Jacob Acked-by: Andrew Rybchenko Acked-by: Ajit Khaparde Acked-by: David Marchand --- diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index c3ce3d4ee8..1a07f88172 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -165,6 +165,12 @@ Deprecation Notices Existing ``rte_eth_rx_descriptor_status`` and ``rte_eth_tx_descriptor_status`` APIs can be used as replacement. +* ethdev: The port mirroring API can be replaced with a more fine grain flow API. + The structs ``rte_eth_mirror_conf``, ``rte_eth_vlan_mirror`` and the functions + ``rte_eth_mirror_rule_set``, ``rte_eth_mirror_rule_reset`` will be marked + as deprecated in DPDK 20.11, along with the associated macros ``ETH_MIRROR_*``. + This API will be fully removed in DPDK 21.11. + * ethdev: Some internal APIs for driver usage are exported in the .map file. Now DPDK has ``__rte_internal`` marker so we can mark internal APIs and move them to the INTERNAL block in .map. Although these APIs are internal it will