From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 3FD3CA0471 for ; Mon, 17 Jun 2019 03:51:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 687FD1BD3B; Mon, 17 Jun 2019 03:51:38 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 947F31BCE7; Mon, 17 Jun 2019 03:51:36 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jun 2019 18:51:35 -0700 X-ExtLoop1: 1 Received: from kmsmsx155.gar.corp.intel.com ([172.21.73.106]) by orsmga008.jf.intel.com with ESMTP; 16 Jun 2019 18:51:33 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.96]) by KMSMSX155.gar.corp.intel.com ([169.254.15.69]) with mapi id 14.03.0439.000; Mon, 17 Jun 2019 09:51:32 +0800 From: "Zhao1, Wei" To: "Yigit, Ferruh" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Peng, Yuan" , "Lu, Wenzhuo" , Kevin Traynor Thread-Topic: [dpdk-stable] [PATCH] app/testpmd: fix offloads overwrite by default configuration Thread-Index: AQHVBjvTtkfi4wci80O5n6Bd6U+6/qaWM8IAgAE4hkCAA5CqgIAEVGaw Date: Mon, 17 Jun 2019 01:51:32 +0000 Message-ID: References: <1557386447-57225-1-git-send-email-wei.zhao1@intel.com> <9bb24a9e-4e4f-9d9b-14dc-a9ed7d00d4d5@intel.com> In-Reply-To: <9bb24a9e-4e4f-9d9b-14dc-a9ed7d00d4d5@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [172.30.20.205] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] app/testpmd: fix offloads overwrite by default configuration 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWWlnaXQsIEZlcnJ1aA0K PiBTZW50OiBGcmlkYXksIEp1bmUgMTQsIDIwMTkgMTE6NDIgUE0NCj4gVG86IFpoYW8xLCBXZWkg PHdlaS56aGFvMUBpbnRlbC5jb20+OyBkZXZAZHBkay5vcmcNCj4gQ2M6IHN0YWJsZUBkcGRrLm9y ZzsgUGVuZywgWXVhbiA8eXVhbi5wZW5nQGludGVsLmNvbT47IEx1LCBXZW56aHVvDQo+IDx3ZW56 aHVvLmx1QGludGVsLmNvbT47IEtldmluIFRyYXlub3IgPGt0cmF5bm9yQHJlZGhhdC5jb20+DQo+ IFN1YmplY3Q6IFJlOiBbZHBkay1zdGFibGVdIFtQQVRDSF0gYXBwL3Rlc3RwbWQ6IGZpeCBvZmZs b2FkcyBvdmVyd3JpdGUgYnkNCj4gZGVmYXVsdCBjb25maWd1cmF0aW9uDQo+IA0KPiBPbiA2LzEy LzIwMTkgMjoxNyBBTSwgWmhhbzEsIFdlaSB3cm90ZToNCj4gPg0KPiA+DQo+ID4+IC0tLS0tT3Jp Z2luYWwgTWVzc2FnZS0tLS0tDQo+ID4+IEZyb206IFlpZ2l0LCBGZXJydWgNCj4gPj4gU2VudDog VHVlc2RheSwgSnVuZSAxMSwgMjAxOSAxMDozNyBQTQ0KPiA+PiBUbzogWmhhbzEsIFdlaSA8d2Vp LnpoYW8xQGludGVsLmNvbT47IGRldk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