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 43549A00E6 for ; Wed, 12 Jun 2019 03:17:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1589C1D0C8; Wed, 12 Jun 2019 03:17:52 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id E672B1D0B7; Wed, 12 Jun 2019 03:17:49 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jun 2019 18:17:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,363,1557212400"; d="scan'208";a="184059692" Received: from kmsmsx152.gar.corp.intel.com ([172.21.73.87]) by fmsmga002.fm.intel.com with ESMTP; 11 Jun 2019 18:17:47 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.115]) by KMSMSX152.gar.corp.intel.com ([169.254.11.195]) with mapi id 14.03.0415.000; Wed, 12 Jun 2019 09:17:46 +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/qaWM8IAgAE4hkA= Date: Wed, 12 Jun 2019 01:17:46 +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-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 PiBTZW50OiBUdWVzZGF5LCBKdW5lIDExLCAyMDE5IDEwOjM3IFBNDQo+IFRvOiBaaGFvMSwgV2Vp IDx3ZWkuemhhbzFAaW50ZWwuY29tPjsgZGV2QGRwZGsub3JnDQo+IENjOiBzdGFibGVAZHBkay5v cmc7IFBlbmcsIFl1YW4gPHl1YW4ucGVuZ0BpbnRlbC5jb20+OyBMdSwgV2Vuemh1bw0KPiA8d2Vu emh1by5sdUBpbnRlbC5jb20+OyBLZXZpbiBUcmF5bm9yIDxrdHJheW5vckByZWRoYXQuY29tPg0K PiBTdWJqZWN0OiBSZTogW2RwZGstc3RhYmxlXSBbUEFUQ0hdIGFwcC90ZXN0cG1kOiBmaXggb2Zm bG9hZHMgb3ZlcndyaXRlIGJ5DQo+IGRlZmF1bHQgY29uZmlndXJhdGlvbg0KPiANCj4gT24gNS85 LzIwMTkgODoyMCBBTSwgV2VpIFpoYW8gd3JvdGU6DQo+ID4gVGhlcmUgaXMgYW4gZXJyb3IgaW4g ZnVuY3Rpb24gcnh0eF9wb3J0X2NvbmZpZygpLCB3aGljaCBtYXkgb3ZlcndyaXRlDQo+ID4gb2Zm bG9hZHMgY29uZmlndXJhdGlvbiBnZXQgZnJvbSBmdW5jdGlvbiBsYXVuY2hfYXJnc19wYXJzZSgp IHdoZW4gcnVuDQo+ID4gdGVzdHBtZCBhcHAuIFNvIHJ4dHhfcG9ydF9jb25maWcoKSBzaG91bGQ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