From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id CE3052901 for ; Tue, 16 May 2017 11:11:31 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP; 16 May 2017 02:11:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,348,1491289200"; d="scan'208";a="87326724" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by orsmga002.jf.intel.com with ESMTP; 16 May 2017 02:11:29 -0700 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.170]) by IRSMSX108.ger.corp.intel.com ([169.254.11.239]) with mapi id 14.03.0319.002; Tue, 16 May 2017 10:11:28 +0100 From: "Mcnamara, John" To: "Zhang, Qi Z" , "adrien.mazarguil@6wind.com" CC: "dev@dpdk.org" , "Lu, Wenzhuo" , "Xing, Beilei" , "Zhang, Qi Z" Thread-Topic: [dpdk-dev] [RFC 2/2] doc/guides/prog_guide: add new flow attribute Thread-Index: AQHSzSbsyES4C89s7UmBA8LLmDPWQqH2rf7Q Date: Tue, 16 May 2017 09:11:27 +0000 Message-ID: References: <1494791406-3594-1-git-send-email-qi.z.zhang@intel.com> <1494791406-3594-3-git-send-email-qi.z.zhang@intel.com> In-Reply-To: <1494791406-3594-3-git-send-email-qi.z.zhang@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_PUBLIC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDhjNDZiODAtZDIzNi00ZjI5LTlkYTgtYTliZTBmNDY5NzIxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX1BVQkxJQyJ9XX1dfSwiU3ViamVjdExhYmVscyI6W10sIlRNQ1ZlcnNpb24iOiIxNS45LjYuNiIsIlRydXN0ZWRMYWJlbEhhc2giOiJnUzhwWFBZd1IrcWlvV2k5MHdGeGJUdllCTEwyVVdTR0xYVW5iak1LeFNjPSJ9 dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC 2/2] doc/guides/prog_guide: add new flow attribute 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: Tue, 16 May 2017 09:11:32 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Qi Zhang > Sent: Sunday, May 14, 2017 8:50 PM > To: adrien.mazarguil@6wind.com > Cc: dev@dpdk.org; Lu, Wenzhuo ; Xing, Beilei > ; Zhang, Qi Z > Subject: [dpdk-dev] [RFC 2/2] doc/guides/prog_guide: add new flow > attribute >=20 > Update the programming guide for the new attribute of rte_flow >=20 > Signed-off-by: Qi Zhang > --- > doc/guides/prog_guide/rte_flow.rst | 12 ++++++++++++ > 1 file changed, 12 insertions(+) >=20 > 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). >=20 > +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. > + There should be a blank line before the list items, otherwise it will cause an RST warning.