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 014B8A00E6 for ; Wed, 12 Jun 2019 02:58:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DA4E01D098; Wed, 12 Jun 2019 02:58:02 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id DE50F1D08D; Wed, 12 Jun 2019 02:57:57 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jun 2019 17:57:56 -0700 X-ExtLoop1: 1 Received: from pgsmsx114.gar.corp.intel.com ([10.108.55.203]) by orsmga004.jf.intel.com with ESMTP; 11 Jun 2019 17:57:55 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.115]) by pgsmsx114.gar.corp.intel.com ([169.254.4.185]) with mapi id 14.03.0415.000; Wed, 12 Jun 2019 08:57:54 +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/qaWM8IAgAEysRA= Date: Wed, 12 Jun 2019 00:57:54 +0000 Message-ID: References: <1557386447-57225-1-git-send-email-wei.zhao1@intel.com> In-Reply-To: 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.206] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH] app/testpmd: fix offloads overwrite by default configuration X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" SGksICBGZXJydWgNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBZaWdp dCwgRmVycnVoDQo+IFNlbnQ6IFR1ZXNkYXksIEp1bmUgMTEsIDIwMTkgMTA6MzcgUE0NCj4gVG86 IFpoYW8xLCBXZWkgPHdlaS56aGFvMUBpbnRlbC5jb20+OyBkZXZAZHBkay5vcmcNCj4gQ2M6IHN0 YWJsZUBkcGRrLm9yZzsgUGVuZywgWXVhbiA8eXVhbi5wZW5nQGludGVsLmNvbT47IEx1LCBXZW56 aHVvDQo+IDx3ZW56aHVvLmx1QGludGVsLmNvbT47IEtldmluIFRyYXlub3IgPGt0cmF5bm9yQHJl ZGhhdC5jb20+DQo+IFN1YmplY3Q6IFJlOiBbZHBkay1zdGFibGVdIFtQQVRDSF0gYXBwL3Rlc3Rw bWQ6IGZpeCBvZmZsb2FkcyBvdmVyd3JpdGUgYnkNCj4gZGVmYXVsdCBjb25maWd1cmF0aW9uDQo+ IA0KPiBPbiA1LzkvMjAxOSA4OjIwIEFNLCBXZWkgWmhhbyB3cm90ZToNCj4gPiBUaGVyZSBpcyBh biBlcnJvciBpbiBmdW5jdGlvbiByeHR4X3BvcnRfY29uZmlnKCksIHdoaWNoIG1heSBvdmVyd3Jp dGUNCj4gPiBvZmZsb2FkcyBjb25maWd1cmF0aW9uIGdldCBmcm9tIGZ1bmN0aW9uIGxhdW5jaF9h cmdzX3BhcnNlKCkgd2hlbiBydW4NCj4gPiB0ZXN0cG1kIGFwcC4gU28gcnh0eF9wb3J0X2NvbmZp ZygpIHNob3VsZCBkbyAib3IiIGZvciBwb3J0IG9mZmxvYWRzLg0KPiA+DQ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