From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CC8FDA2EFC for ; Tue, 17 Sep 2019 11:22:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 08CF61C029; Tue, 17 Sep 2019 11:22:34 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 66F051C00E; Tue, 17 Sep 2019 11:22:32 +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 orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Sep 2019 02:22:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,515,1559545200"; d="scan'208";a="216506999" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 17 Sep 2019 02:22:31 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 17 Sep 2019 02:22:30 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.140]) with mapi id 14.03.0439.000; Tue, 17 Sep 2019 17:22:29 +0800 From: "Wang, ShougangX" To: "Yigit, Ferruh" , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "Yang, Qiming" , "stable@dpdk.org" Thread-Topic: [dpdk-stable] [PATCH] app/testpmd: fix Segment fault when start fwd Thread-Index: AQHVZFj+VoW6gQJjZEiCWxEVfvNRVacpZDAAgARKDzCAAEmDgIABQfrQ Date: Tue, 17 Sep 2019 09:22:27 +0000 Message-ID: <00A8E5A1740DFA49A87AFFAC34B8EDEA385D4D@SHSMSX101.ccr.corp.intel.com> References: <20190906012838.64088-1-shougangx.wang@intel.com> <00A8E5A1740DFA49A87AFFAC34B8EDEA3857EB@SHSMSX101.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] 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 Segment fault when start fwd 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" PiBMZXQncyBhc3N1bWUgcG9ydCBhbHJlYWR5IHN0b3BwZWQgYmVmb3JlIGNhbGxpbmcgdGhlIHJl c2V0LCByZXNldCB3aWxsIGNhdXNlIHBvcnQNCj4gdG8gYmUgc3RhcnRlZC4NCg0KSW5kZWVkLCBh dXRvbWF0aWNhbGx5IHN0YXJ0IGxvb2tzIHN0cmFuZ2UgaW4gdGhpcyBjYXNlLiBVc2VyIGV4cGxp Y2l0bHkgZG8gdGhlIA0KInBvcnQgc3RhcnQiIGNvbW1hbmQgc2hvdWxkIGJlIGJldHRlci4NCg0K PiBJIGFtIGZvciB1c2VyIGV4cGxpY2l0bHkgZG8gdGhlIHN0b3AsIHJlc2V0IGFuZCBzdGFydCBj b21tYW5kcywgaW5zdGVhZCBvZiByZXNldA0KPiBhdXRvbWF0aWNhbGx5IHN0b3AgYW5kIHN0YXJ0 IGxhdGVyLg0KDQpUaGVyZSBhcmUgdHdvIHJlYXNvbnMgdGhhdCBpdCBpcyBuZWNlc3NhcnkgdG8g c3RvcCBhdXRvbWF0aWNhbGx5IGluICJwb3J0IHJlc2V0IiBjb21tYW5kOg0KMSkgRXZlbiB3aXRo b3V0IHRoaXMgcGF0Y2gsIHVzZXIgZG9lcyBub3QgbmVl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