From mboxrd@z Thu Jan 1 00:00:00 1970 From: Qi Zhang Subject: [RFC 2/2] doc/guides/prog_guide: add new flow attribute Date: Sun, 14 May 2017 15:50:06 -0400 Message-ID: <1494791406-3594-3-git-send-email-qi.z.zhang@intel.com> References: <1494791406-3594-1-git-send-email-qi.z.zhang@intel.com> Cc: dev@dpdk.org, wenzhuo.lu@intel.com, beilei.xing@intel.com, Qi Zhang To: adrien.mazarguil@6wind.com Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 929685398 for ; Mon, 15 May 2017 04:56:27 +0200 (CEST) In-Reply-To: <1494791406-3594-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" Update the programming guide for the new attribute of rte_flow Signed-off-by: Qi Zhang --- doc/guides/prog_guide/rte_flow.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/guides/prog_guide/rte_flow.rst b/doc/guides/prog_guide/rte_flow.rst index b587ba9..5207eec 100644 --- a/doc/guides/prog_guide/rte_flow.rst +++ b/doc/guides/prog_guide/rte_flow.rst @@ -181,6 +181,18 @@ directions. At least one direction must be specified. Specifying both directions at once for a given rule is not recommended but may be valid in a few cases (e.g. shared counters). +Attribute: Match hint +^^^^^^^^^^^^^^^^^^^^^ + +This is a attribute to hint different pattern match accuracy. + +Perfect match: +- Actions will be taken if input packet's pattern matches flow's pattern. + +Signature match: +- Actions will be taken if the signature of input packet's pattern matches + the signature of flow's pattern. + Pattern item ~~~~~~~~~~~~ -- 2.7.4