From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 2DCF2FA72 for ; Mon, 19 Dec 2016 19:54:39 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP; 19 Dec 2016 10:54:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,374,1477983600"; d="scan'208";a="44845977" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by fmsmga006.fm.intel.com with ESMTP; 19 Dec 2016 10:54:37 -0800 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.212]) by irsmsx110.ger.corp.intel.com ([169.254.15.45]) with mapi id 14.03.0248.002; Mon, 19 Dec 2016 18:54:36 +0000 From: "Ananyev, Konstantin" To: Michal Miroslaw , "dev@dpdk.org" Thread-Topic: [PATCH v2] acl: allow zero verdict Thread-Index: AQHSVi7aFF1b8n22g0iz/bQP+ZAvKKEPpSdg Date: Mon, 19 Dec 2016 18:54:35 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772583F0F29AB@irsmsx105.ger.corp.intel.com> References: <99ef4a0f436d441f583cca560b2bde2f1de01648.1481735746.git.mirq-linux@rere.qmqm.pl> In-Reply-To: <99ef4a0f436d441f583cca560b2bde2f1de01648.1481735746.git.mirq-linux@rere.qmqm.pl> 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="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] acl: allow zero verdict 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: Mon, 19 Dec 2016 18:54:39 -0000 DQoNCj4gLS0tLS1PcmlnaW5hb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