Re: [dpdk-dev] [RFC v2 2/6] net/i40e: define the mirror filter parser

2021-02-19 Thread Ferruh Yigit
On 11/3/2020 8:28 AM, Steve Yang wrote: Define the sample filter parser for mirror, it will divide to two phases, the one is sample attributions pattern parsing, and the mirror config will be filled in according to pattern type VF/PF/VLAN when sample ratio is 1. The another is sample action parsi

Re: [dpdk-dev] [RFC v2 2/6] net/i40e: define the mirror filter parser

2021-02-18 Thread Thomas Monjalon
03/11/2020 09:28, Steve Yang: > --- a/lib/librte_ethdev/rte_ethdev_driver.h > +++ b/lib/librte_ethdev/rte_ethdev_driver.h > @@ -477,6 +477,7 @@ enum rte_filter_type { > RTE_ETH_FILTER_TUNNEL, > RTE_ETH_FILTER_FDIR, > RTE_ETH_FILTER_HASH, > + RTE_ETH_FILTER_SAMPLE, > RTE_

[dpdk-dev] [RFC v2 2/6] net/i40e: define the mirror filter parser

2020-11-03 Thread Steve Yang
Define the sample filter parser for mirror, it will divide to two phases, the one is sample attributions pattern parsing, and the mirror config will be filled in according to pattern type VF/PF/VLAN when sample ratio is 1. The another is sample action parsing that the port id of mirror config will