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

Thomas Monjalon thomas at monjalon.net
Thu Jun 8 09:19:24 CEST 2017


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 Match only match pattern's hash value, but it is
> possible two different patterns have the same hash value.

You have described it yourself here: it matches a hash of the signature.
Why not using "hash" as wording?

> Matching accuracy level can be configure by subfield threshold.
> Driver can divide the range of threshold and map to different
> accuracy levels that device support.
> Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>

More information about the dev mailing list