From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9CE0020945; Wed, 5 Jul 2017 13:55:03 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 05 Jul 2017 13:55:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=q6XmiMpNVfyf0YU 7e67h8HdhDj2r2+/SCkaQHalKAss=; b=M2n847XAXn0TXreJpaMU1Z1Sb5RVk+b FsQgxw9sOHGZR07q0j2LHXym4HwGKh9oSYxpp+U9odJS4+tA5JA63egt0IzJRGMi 5qfvoyMS9Z7SFKac9Ht4Nty8ynrQX0fpn43QsJIcZpgY1mt6uUp8J0TnwTUwBQ0I SSJhVhF0kBf4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=q6XmiMpNVfyf0YU7e67h8HdhDj2r2+/SCkaQHalKAss=; b=hvU4scyE Se4wo6FIg9dp0c5efb29AoZxEiPsmycHRSgBwF4bXWRujsloUL0K2hh0ZETVaXcH +jRW+ZNhZIuIQvUn+G8AvRIUHLa2lt1Gqm+eXMyQ+lUS1uZnTLDC4Z6YP8SvSzVu rA0OZr+LmxTIijumYMZypKx0JZUOLyzo8eJerLqhwCCpZiFCcBKyq9qGzqciKhpQ 8ftkTguNtVS0GEU4F4RESf4NbYvfcPWsFKty/Cm/AUnbRBLud9AU3A1H6lTCFk6D DY0luN9hIPFDTWLreVbXivFy4rrJqJ+uMwyKcJD6U4BWalYymZ8LB/90sVbFWfG8 BYa8Wvo6Tpfc0w== X-ME-Sender: X-Sasl-enc: dHOv425pOLNpldLI2iuCO6IJGFDbvJHoAY6JAoZdr2DT 1499277303 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 5E3B6248BA; Wed, 5 Jul 2017 13:55:03 -0400 (EDT) From: Thomas Monjalon To: Qi Zhang Cc: dev@dpdk.org, adrien.mazarguil@6wind.com Date: Wed, 05 Jul 2017 19:55:02 +0200 Message-ID: <1654286.Y8MLXh4jVJ@xps> In-Reply-To: <1497323225-16618-1-git-send-email-qi.z.zhang@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] ethdev: add fuzzy match in flow API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2017 17:55:04 -0000 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