Re: [dpdk-dev] [PATCH] ethdev: remove legacy mirroring API
From: Thomas Monjalon <hidden>
Date: 2021-09-29 08:18:03
From: Thomas Monjalon <hidden>
Date: 2021-09-29 08:18:03
Hi Andrew, Thanks a lot for working on this. I had sent the deprecation notice and forgot about it, apologies. 28/09/2021 18:16, Andrew Rybchenko:
A more file grain flow API should be used instead of it.
Do you mean "fine-grain"? I think we can reference the rte_flow action to be used: RTE_FLOW_ACTION_TYPE_SAMPLE
--- a/doc/guides/rel_notes/release_21_11.rst +++ b/doc/guides/rel_notes/release_21_11.rst +* ethdev: Removed the port mirroring API. A more fine grain flow API may + be used instead. The structures ``rte_eth_mirror_conf`` and + ``rte_eth_vlan_mirror`` and the functions ``rte_eth_mirror_rule_set`` + and ``rte_eth_mirror_rule_reset`` along with the associated macros + ``ETH_MIRROR_*`` are removed.
Here as well we can mention the replacement RTE_FLOW_ACTION_TYPE_SAMPLE.