From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 3DA5BC326 for ; Fri, 5 Jun 2015 19:30:09 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 05 Jun 2015 10:30:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,560,1427785200"; d="scan'208";a="737833352" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by fmsmga002.fm.intel.com with ESMTP; 05 Jun 2015 10:30:07 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.73]) by IRSMSX153.ger.corp.intel.com ([169.254.9.95]) with mapi id 14.03.0224.002; Fri, 5 Jun 2015 18:30:06 +0100 From: "Ananyev, Konstantin" To: "Sugumaran, Varthamanan" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] ACL-Dynamic Adding or Deleting rules Thread-Index: AdCe35saKXFnlaOQShCTp1QK+qf8+gA1FrtgAAA1KoA= Date: Fri, 5 Jun 2015 17:30:06 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772582143561D@irsmsx105.ger.corp.intel.com> References: <5D52F6EC3531E949B1A9130CBFCE032F8371E1A0@ONWVEXCHMB04.ciena.com> In-Reply-To: <5D52F6EC3531E949B1A9130CBFCE032F8371E1A0@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.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] ACL-Dynamic Adding or Deleting rules 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: Fri, 05 Jun 2015 17:30:09 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Sugumaran, Varthaman= an > Sent: Friday, June 05, 2015 6:22 PM > To: dev@dpdk.org > Subject: [dpdk-dev] ACL-Dynamic Adding or Deleting rules >=20 > Hi, > Is there is a way to add/delete a single ACL rule in librte_acl? > I had looked at the library and found no method to add/delete a rule dyna= mically to the existing ACL context. No, you always have to call rte_acl_build() to regenerate the whole RT tabl= e. Konstantin > Please let me know if there are any alternate ways of doing it. >=20 > Thanks > Vartha