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 1A5E7A2EFC for ; Mon, 16 Sep 2019 08:37:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5EABF1C10E; Mon, 16 Sep 2019 08:37:31 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 5A14A1C0B0; Mon, 16 Sep 2019 08:37:29 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Sep 2019 23:37:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,510,1559545200"; d="scan'208";a="193353731" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 15 Sep 2019 23:37:28 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 15 Sep 2019 23:37:27 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 15 Sep 2019 23:37:27 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.53]) with mapi id 14.03.0439.000; Mon, 16 Sep 2019 14:37:25 +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+VoW6gQJjZEiCWxEVfvNRVacpZDAAgARKDzA= Date: Mon, 16 Sep 2019 06:37:25 +0000 Message-ID: <00A8E5A1740DFA49A87AFFAC34B8EDEA3857EB@SHSMSX101.ccr.corp.intel.com> References: <20190906012838.64088-1-shougangx.wang@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" SGkgRmVycnVoDQoNClRoYW5rcyBmb3IgeW91ciByZXBseS4NCg0KPiBOb3Qgc3VyZSBpZiAncmVz ZXQnIGNvbW1hbmQgc2hvdWxkIGRvIG1vcmUgdGhhbiBpdCBzYXlzLCBpZiB0aGVyZSBpcyBhDQo+ IHJlcXVpcmVtZW50IHRoYXQgcG9ydCBzaG91bGQgYmUgc3RvcHBlZCwgd2h5IG5vdCBhZGQgdGhp cyBjb25kaXRpb24gd2l0aCBhbg0KPiBlcnJvciBtZXNzYWdlIHNvIHRoYXQgdXNlciBjYW4gc3Rv cCB0aGUgcG9ydCBpbiBhZHZhbmNlIGlmIHNoZSB3YW50cy4NCg0KRmlyc3RseSwgcG9ydCBtdXN0 IGJlIHN0b3BwZWQgYmVmb3JlIHJlc2V0LiBVc3VhbGx5LCBwb3J0IGlzIHN0b3BwZWQgYnkgcnRl X2V0aF9kZXZfcmVzZXQoKSwgDQpzbyB0ZXN0cG1kIGRvZXMgbm90IHByb21wdCB1c2VyIHRvIHN0 b3AgcG9ydC4gQWx0aG91Z2ggaXQgY2FuIHN0b3AgcG9ydCwgYnV0IHRlc3RwbWQgZG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