From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id A44C55A32 for ; Tue, 21 Jul 2015 11:20:08 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 21 Jul 2015 02:19:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,515,1432623600"; d="scan'208";a="527615468" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by FMSMGA003.fm.intel.com with ESMTP; 21 Jul 2015 02:19:41 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.245]) by IRSMSX107.ger.corp.intel.com ([169.254.10.39]) with mapi id 14.03.0224.002; Tue, 21 Jul 2015 10:19:19 +0100 From: "Ananyev, Konstantin" To: "Sugumaran, Varthamanan" , "dev@dpdk.org" Thread-Topic: Creation of ACL context with multiple tries Thread-Index: AdDDGAwXzu2aWjchRDyOf097PUoFcQAeTD5Q Date: Tue, 21 Jul 2015 09:19:19 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836A275CB@irsmsx105.ger.corp.intel.com> References: <5D52F6EC3531E949B1A9130CBFCE032F8B2670B6@ONWVEXCHMB04.ciena.com> In-Reply-To: <5D52F6EC3531E949B1A9130CBFCE032F8B2670B6@ONWVEXCHMB04.ciena.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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] Creation of ACL context with multiple tries X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 09:20:09 -0000 Hi Vartha, =20 > Hi All, > Need your inputs on the following queries on ACL contexts. >=20 > 1. Has anyone tried creating ACL context with multiple tries? > 2. The document/code mentioned that we can have the maximum of 8 tries(RT= E_ACL_MAX_TRIES) per ACL context. > What is the use case for having more than single trie? User can't directly control number of tries per context and/or contents of = each trie at build time. It is decided by build time by librte_acl internal logic and depends from t= he rule set and build parameters. Please refer to: http://dpdk.org/doc/guides/prog_guide/packet_classif_acces= s_ctrl.html Section 23.1.2. RT memory size limit. > 3. If we can create ACL context using multiple tries, then is it possible= to have trie per category in ACL context? > Meaning I want to create a single ACL context(that had both ipv4 and = ipv6 rules) which have 2 tries with one for ipv4 rules and > another one for ipv6 rules. No, that's no possible with current implementation. Konstantin > Thanks in Advance. >=20 > Thanks > Vartha