Re: [dpdk-dev] [PATCH v2] ethdev: add fuzzy match pattern

2017-06-12 Thread Zhang, Qi Z
> -Original Message- > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > Sent: Monday, June 12, 2017 11:39 PM > To: Thomas Monjalon > Cc: Zhang, Qi Z ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] ethdev: add fuzzy match pattern > > On Thu, Ju

Re: [dpdk-dev] [PATCH v2] ethdev: add fuzzy match pattern

2017-06-12 Thread Adrien Mazarguil
On Thu, Jun 08, 2017 at 09:19:24AM +0200, Thomas Monjalon wrote: > Hi, > > 08/06/2017 00:21, Qi Zhang: > > Add new meta pattern item RTE_FLOW_TYPE_ITEM_FUZZY. > > I disagree about fuzzy wording, because fuzzy is something different > I think. At least it's a generic term, unrelated PMDs could li

Re: [dpdk-dev] [PATCH v2] ethdev: add fuzzy match pattern

2017-06-08 Thread Thomas Monjalon
Hi, 08/06/2017 00:21, Qi Zhang: > Add new meta pattern item RTE_FLOW_TYPE_ITEM_FUZZY. I disagree about fuzzy wording, because fuzzy is something different I think. > This is for device that support fuzzy match option. > Usually a fuzzy match is fast but the cost is accuracy. > i.e. Signature Ma

[dpdk-dev] [PATCH v2] ethdev: add fuzzy match pattern

2017-06-07 Thread Qi Zhang
Add new meta pattern item RTE_FLOW_TYPE_ITEM_FUZZY. This is for device that support fuzzy match option. Usually a fuzzy match is fast but the cost is accuracy. i.e. Signature Match only match pattern's hash value, but it is possible two different patterns have the same hash value. Matching accur