doc: announce deprecation of port mirroring API
PATCH 1/1 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.
--- doc/guides/rel_notes/deprecation.rst | 6 ++++++ 1 file changed, 6 insertions(+)
doc/guides/rel_notes/deprecation.rst +6 -0
@@ -103,6 +103,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
Signature · 1 line
2.27.0
Quoted 7 lines · Thomas Monjalon
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 <[email protected]>
Quoted 24 lines
--- doc/guides/rel_notes/deprecation.rst | 6 ++++++ 1 file changed, 6 insertions(+)doc/guides/rel_notes/deprecation.rst +6
-1@@ -103,6 +103,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 --2.27.0
Quoted 6 lines · Thomas Monjalon
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 <[email protected]>
I like the idea. Not everything is 100% clear, but the direction is right.
Ajit Khaparde
Acked-byQuoted 10 lines · Andrew Rybchenko
Quoted 6 lines · Thomas Monjalon
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 <[email protected]>I like the idea. Not everything is 100% clear, but the direction is right.
+1
Quoted 3 lines
Acked-by Andrew Rybchenko <[email protected]>
Thomas Monjalon
AppliedQuoted 8 lines
Quoted 6 lines
Quoted 6 lines
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 <[email protected]>Acked-by Jerin Jacob <[email protected]>Quoted 1 line
Quoted 7 lines
Quoted 2 lines
I like the idea. Not everything is 100% clear, but the direction is right.
+1
Quoted 1 line
Acked-by Andrew Rybchenko <[email protected]>Acked-by Ajit Khaparde <[email protected]>Acked-by David Marchand <[email protected]>
Applied
Quoted 7 lines · Thomas Monjalon
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 <[email protected]>
Signature · 1 line
David Marchand