From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] ethdev: add fuzzy match in flow API Date: Wed, 05 Jul 2017 19:55:02 +0200 Message-ID: <1654286.Y8MLXh4jVJ@xps> References: <1495582134-13665-1-git-send-email-qi.z.zhang@intel.com> <1497323225-16618-1-git-send-email-qi.z.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, adrien.mazarguil@6wind.com To: Qi Zhang Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 09A872C8 for ; Wed, 5 Jul 2017 19:55:04 +0200 (CEST) In-Reply-To: <1497323225-16618-1-git-send-email-qi.z.zhang@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 13/06/2017 05:07, Qi Zhang: > Add new meta pattern item RTE_FLOW_TYPE_ITEM_FUZZY in flow API. > > 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 that two different patterns have the same hash value. > > Matching accuracy level can be configured by subfield threshold. > Driver can divide the range of threshold and map to different > accuracy levels that device support. > > Signed-off-by: Qi Zhang Applied, thanks