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 9096B4D27; Tue, 14 May 2019 03:56:48 +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 fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 May 2019 18:56:47 -0700 X-ExtLoop1: 1 Received: from kmsmsx153.gar.corp.intel.com ([172.21.73.88]) by orsmga008.jf.intel.com with ESMTP; 13 May 2019 18:56:45 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.111]) by KMSMSX153.gar.corp.intel.com ([169.254.5.36]) with mapi id 14.03.0415.000; Tue, 14 May 2019 09:56:44 +0800 From: "Zhao1, Wei" To: "Yigit, Ferruh" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Peng, Yuan" , "Lu, Wenzhuo" Thread-Topic: [dpdk-stable] [PATCH] app/testpmd: fix offloads overwrite by default configuration Thread-Index: AQHVBjvTtkfi4wci80O5n6Bd6U+6/qZowUaAgAEg+9A= Date: Tue, 14 May 2019 01:56:44 +0000 Message-ID: References: <1557386447-57225-1-git-send-email-wei.zhao1@intel.com> <703bdff4-70c3-2c95-ac49-6ecb0165a3cc@intel.com> In-Reply-To: <703bdff4-70c3-2c95-ac49-6ecb0165a3cc@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.30.20.206] 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: , X-List-Received-Date: Tue, 14 May 2019 01:56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ZmbG9hZHMgPSBwb3J0LT50eF9jb25mW3FpZF0ub2ZmbG9hZHM7DQo+ID4gIAkJcG9ydC0+dHhf Y29uZltxaWRdID0gcG9ydC0+ZGV2X2luZm8uZGVmYXVsdF90eGNvbmY7DQo+ID4gKwkJcG9ydC0+ dHhfY29uZltxaWRdLm9mZmxvYWRzIHw9IG9mZmxvYWRzOw0KPiA+DQo+ID4gIAkJLyogQ2hlY2sg aWYgYW55IFR4IHBhcmFtZXRlcnMgaGF2ZSBiZWVuIHBhc3NlZCAqLw0KPiA+ICAJCWlmICh0eF9w dGhyZXNoICE9IFJURV9QTURfUEFSQU1fVU5TRVQpDQo+ID4NCg0K 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 41A12A00E6 for ; Tue, 14 May 2019 03:56:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BB4A35689; Tue, 14 May 2019 03:56:50 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 9096B4D27; Tue, 14 May 2019 03:56:48 +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 fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 May 2019 18:56:47 -0700 X-ExtLoop1: 1 Received: from kmsmsx153.gar.corp.intel.com ([172.21.73.88]) by orsmga008.jf.intel.com with ESMTP; 13 May 2019 18:56:45 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.111]) by KMSMSX153.gar.corp.intel.com ([169.254.5.36]) with mapi id 14.03.0415.000; Tue, 14 May 2019 09:56:44 +0800 From: "Zhao1, Wei" To: "Yigit, Ferruh" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Peng, Yuan" , "Lu, Wenzhuo" Thread-Topic: [dpdk-stable] [PATCH] app/testpmd: fix offloads overwrite by default configuration Thread-Index: AQHVBjvTtkfi4wci80O5n6Bd6U+6/qZowUaAgAEg+9A= Date: Tue, 14 May 2019 01:56:44 +0000 Message-ID: References: <1557386447-57225-1-git-send-email-wei.zhao1@intel.com> <703bdff4-70c3-2c95-ac49-6ecb0165a3cc@intel.com> In-Reply-To: <703bdff4-70c3-2c95-ac49-6ecb0165a3cc@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.30.20.206] 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" Message-ID: <20190514015644.g0eO5PGinWQo-2DKLSMvMXHuu1PWUxYg_GufHv3efCk@z> SGksICBGZXJydWgNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBZaWdp dCwgRmVycnVoDQo+IFNlbnQ6IFR1ZXNkYXksIE1heSAxNCwgMjAxOSAxMjozNiBBTQ0KPiBUbzog WmhhbzEsIFdlaSA8d2VpLnpoYW8xQGludGVsLmNvbT47IGRldkBkcGRrLm9yZw0KPiBDYzogc3Rh YmxlQGRwZGsub3JnOyBQZW5nLCBZdWFuIDx5dWFuLnBlbmdAaW50ZWwuY29tPjsgTHUsIFdlbnpo dW8NCj4gPHdlbnpodW8ubHVAaW50ZWwuY29tPg0KPiBTdWJqZWN0OiBSZTogW2RwZGstc3RhYmxl XSBbUEFUQ0hdIGFwcC90ZXN0cG1kOiBmaXggb2ZmbG9hZHMgb3ZlcndyaXRlIGJ5DQo+IGRlZmF1 bHQgY29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