Re: [dpdk-dev] [RFC v2 6/6] net/ixgbe: use flow sample to re-realize mirror rule

2021-02-19 Thread Ferruh Yigit
On 11/3/2020 8:28 AM, Steve Yang wrote: When set follow sample rule's ratio equal to one, its behavior is same as mirror-rule, so we can use "flow create * pattern * actions sample *" to replace old "set port * mirror-rule *" command now. The example of mirror rule command mapping to flow manage

[dpdk-dev] [RFC v2 6/6] net/ixgbe: use flow sample to re-realize mirror rule

2020-11-03 Thread Steve Yang
When set follow sample rule's ratio equal to one, its behavior is same as mirror-rule, so we can use "flow create * pattern * actions sample *" to replace old "set port * mirror-rule *" command now. The example of mirror rule command mapping to flow management command: (in below command, port 0 is