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 8F31B1B20A for ; Tue, 10 Oct 2017 12:07:46 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP; 10 Oct 2017 03:07:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,504,1500966000"; d="scan'208";a="144778241" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga002.jf.intel.com with ESMTP; 10 Oct 2017 03:07:44 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.49]) by IRSMSX102.ger.corp.intel.com ([169.254.2.180]) with mapi id 14.03.0319.002; Tue, 10 Oct 2017 11:07:43 +0100 From: "Singh, Jasvinder" To: "Yigit, Ferruh" , "dev@dpdk.org" CC: "Dumitrescu, Cristian" , "thomas@monjalon.net" , "Lu, Wenzhuo" Thread-Topic: [PATCH v7 5/5] app/testpmd: add traffic management forwarding mode Thread-Index: AQHTQTux/VO5V7b6G0Srl5IKkmii6aLc3FPA Date: Tue, 10 Oct 2017 10:07:43 +0000 Message-ID: <54CBAA185211B4429112C315DA58FF6D33268291@IRSMSX103.ger.corp.intel.com> References: <20171006170003.77311-2-jasvinder.singh@intel.com> <20171009125846.106218-1-jasvinder.singh@intel.com> <20171009125846.106218-6-jasvinder.singh@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjcxZjUwOGItNDgzNy00MjY0LWE4ODMtOTdmZjdmMGIzOWM1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InJ4NWdpZEVwaENQdUs1N0lFQTN1M0lsbkxPd2tPSzgxRXY1WjBJQUdOalU9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action 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 v7 5/5] app/testpmd: add traffic management forwarding mode 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, 10 Oct 2017 10:07:47 -0000 DQo8c25pcD4NCj4gDQo+ID4gK3N0YXRpYyBpbnQNCj4gPiArc29mdHBvcnRfdG1fc3VicG9ydF9u b2RlX2FkZChwb3J0aWRfdCBwb3J0X2lkLCBzdHJ1Y3QgdG1faGllcmFyY2h5DQo+ICpoLA0KPiA+ ICsJc3RydWN0IHJ0ZV90bV9lcnJvciAqZXJyb3IpDQo+ID4gK3sNCj4gPiArCXVpbnQzMl90IHN1 YnBvcnRfcGFyZW50X25vZGVfaWQsIHN1YnBvcnRfbm9kZV9pZDsNCj4gPiArCXN0cnVjdCBydGVf dG1fbm9kZV9wYXJhbXMgc25wOw0KPiA+ICsJc3RydWN0IHJ0ZV90bV9zaGFwZXJfcGFyYW1zIHNz cDsNCj4gPiArCXVpbnQzMl90IHByaW9yaXR5LCB3ZWlnaHQsIGxldmVsX2lkLCBzaGFwZXJfcHJv ZmlsZV9pZDsNCj4gPiArCXVpbnQzMl90IGk7DQo+ID4gKw0KPiA+ICsJbWVtc2V0KCZzc3AsIDAs IHNpemVvZihzdHJ1Y3QgcnRlX3RtX3NoYXBlcl9wYXJhbXMpKTsN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