From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 307D2A0C54; Mon, 23 Aug 2021 05:56:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AC72C40143; Mon, 23 Aug 2021 05:56:29 +0200 (CEST) Received: from CNSHJSMIN05.NOKIA-SBELL.COM (cnshjsmin05.nokia-sbell.com [116.246.26.45]) by mails.dpdk.org (Postfix) with ESMTP id 09DF74003E for ; Mon, 23 Aug 2021 05:56:27 +0200 (CEST) X-AuditID: ac18929d-019ff7000000e323-53-61231c69e3df Received: from CNSHPPEXCH1608.nsn-intra.net (Unknown_Domain [135.251.51.108]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by CNSHJSMIN05.NOKIA-SBELL.COM (Symantec Messaging Gateway) with SMTP id 62.B3.58147.96C13216; Mon, 23 Aug 2021 11:56:25 +0800 (HKT) Received: from CNSHPPEXCH1601.nsn-intra.net (135.251.51.101) by CNSHPPEXCH1608.nsn-intra.net (135.251.51.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 23 Aug 2021 11:56:25 +0800 Received: from CNSHPPEXCH1601.nsn-intra.net ([135.251.51.101]) by CNSHPPEXCH1601.nsn-intra.net ([135.251.51.101]) with mapi id 15.01.2176.012; Mon, 23 Aug 2021 11:56:25 +0800 From: "Yan, Xiaoping (NSB - CN/Hangzhou)" To: "dev@dpdk.org" Thread-Topic: dpdk-pdump prints "EAL: Error: Invalid memory" Thread-Index: AdeI/DA4vQDCrUQrTEeqWKgRv8gPiQErIxKwAoqAL7A= Date: Mon, 23 Aug 2021 03:56:25 +0000 Message-ID: <1f8ba365b3ea4bcfa3765a742500160d@nokia-sbell.com> References: In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [135.251.51.115] MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjkeLIzCtJLcpLzFFi42Jp/22co5spo5xosPW8hcW7T9uZHBg9fi1Y yhrAGMVlk5Kak1mWWqRvl8CVMXfuMZaCPfcZK46s/sDcwLj2AmMXIyeHhICJxN/3k4FsLg4h gUNMEoe/n2GHcP4ySlw9uIwVwtnEKPF/5zQ2kBY2AQ+JFye2MoPYIgKKEtMnTgaLCwtYS3x5 t4EFIm4j8WPTKiYI20riweQJYPUsAqoSp/uvgNXwCthJPFz8F6xGSKBYYv3hZWBxTgF7iSlt /8HijAKyEtMe3QezmQXEJW49mc8EcbaAxJI955khbFGJl4//AR3KAWQrSfRtgCpPlTj9aAkr xCpBiZMzn7BMYBSZhWTSLCRls5CUQcS1JOY1/IaqUZSY0v2QHcLWlLgy+RCUrS2xbOFr5gWM 7KsYpZ39gj28gn09/QxM9fz8vT0ddYOdXH189Jz9fTcxAqNqjcSkuTsYL8z9pneIkYmD8RCj BAezkgjvXyblRCHelMTKqtSi/Pii0pzU4kOM0hwsSuK8hwqEE4UE0hNLUrNTUwtSi2CyTByc Ug1MXh3PJ6suKmESO8owRaRC2LtVfa+61+vWGbqMLy/t2FSSUXnJ8+JUxrlXrxw5W8HS/H3S ngMiv3vffAxJZOloCTJ5L67w97KhJ8dKDf4vB7hKZy9PujIvdVKg6cvj5x6Xse5i3NV5oumr sf9ZoWcazRUbGQrmGxqXyqhnHhZsDrvHf/xyc2L+hzeHNDy3sFxiZHIRETFdu9J9nUVGYM6P Z9WWT+QPZZrIyCfu+fX8g6k9V+xyHk+1B7oHOI3k1vyeJJE+dertW4ZbudSuvK1jXb/+CJNo T3rdtJ+NB9748DE9nPZQUOW0wbvJjz0nz8488Xn+pY17ZoX4W0+KdWJZEbdzbkDUPcuHV89f 2ip2RYmlOCPRUIu5qDgRAEhZD9IZAwAA Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] dpdk-pdump prints "EAL: Error: Invalid memory" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" SGksDQoNCkFueSBjb21tZW50IGZvciB0aGlzIGlzc3VlPw0KVGhhbmsgeW91Lg0KDQpCZXN0IHJl Z2FyZHMNCllhbiBYaWFvcGluZw0KDQpGcm9tOiBZYW4sIFhpYW9waW5nIChOU0IgLSBDTi9IYW5n emhvdSkNClNlbnQ6IDIwMjHE6jjUwjEwyNUgMTM6MzUNClRvOiAndXNlcnNAZHBkay5vcmcnIDx1 c2Vyc0BkcGRrLm9yZz4NClN1YmplY3Q6IFJFOiBkcGRrLXBkdW1wIHByaW50cyAiRUFMOiBFcnJv cjogSW52YWxpZCBtZW1vcnkiDQoNCkhpLA0KDQpJIG1vZGlmaWVkIGVhbF9sZWdhY3lfaHVnZXBh Z2VfaW5pdCBhbmQgcHJvYmxlbSBpcyBzb2x2ZWQuDQpTaG91bGQgdGhlIGNvcnJlY3Rpb24gYmUg YWRkZWQgdG8gZHBkayB1cHN0cmVhbT8NCg0KZGlmZiAtLWdpdCBhL3BhY2thZ2UvZHBkay9kcGRr LTIwLjExL2xpYi9saWJydGVfZWFsL2xpbnV4L2VhbF9tZW1vcnkuYyBiL3BhY2thZ2UvZHBkay9k cGRrLTIwLjExL2xpYi9saWJydGVfZWFsL2xpbnV4L2VhbF9tZW1vcnkuYw0KaW5kZXggMDNhNGYy ZGQuLjg5YTEzZTkxIDEwMDY0NA0KLS0tIGEvcGFja2FnZS9kcGRrL2RwZGstMjAuMTEvbGliL2xp YnJ0ZV9lYWwvbGludXgvZWFsX21lbW9yeS5jDQorKysgYi9wYWNrYWdlL2RwZGsvZHBkay0yM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LTIwLjExL2xpYi9saWJydGVfZWFsL2xpbnV4L2VhbC5jOjEyMTANCiMxMSAweDAwMDAw MDAwMDA1NmZlZTkgaW4gbWFpbiAoYXJnYz0xNiwgYXJndj0weDdmZmNkYjZkYTc0OCkNCiAgICBh dCAuLi9kcGRrLTIwLjExL2FwcC9wZHVtcC9tYWluLmM6MTExOA0KKGdkYikgYw0KQ29udGludWlu Zy4NCg0KVGhyZWFkIDEgImRwZGstcGR1bXAiIGhpdCBCcmVha3BvaW50IDUsIHJ0ZV9mcmVlIChh ZGRyPTB4NDQ4MmI4MCkNCg0KDQpJdCBzZWVtcyB0byBtZSB0aGF0IGJlbG93IGNvZGUgcGllY2Ug ZnJvbSBlYWxfbGVnYWN5X2h1Z2VwYWdlX2luaXQgc2hvdWxkIGFsc28gc2V0IGxlbiB0byAwPw0K ICAgICAgICAgICAgICAvKiB3ZSdyZSBub3QgZ29pbmcgdG8gYWxsb2NhdGUgbW9yZSBwYWdlcywg c28gcmVsZWFzZSBWQSBzcGFjZSBmb3INCiAgICAgICAgICAgICAgKiB1bnVzZWQgbWVtc2VnIGxp c3RzDQogICAgICAgICAgICAgICovDQogICAgICAgICAgICAgIGZvciAoaSA9IDA7IGkgPCBSVEVf TUFYX01FTVNFR19MSVNUUzsgaSsrKSB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0 cnVjdCBydGVfbWVtc2VnX2xpc3QgKm1zbCA9ICZtY2ZnLT5tZW1zZWdzW2ldOw0KICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBzaXplX3QgbWVtX3N6Ow0KDQogICAgICAgICAgICAgICAgICAg ICAgICAgICAgIC8qIHNraXAgaW5hY3RpdmUgbGlzdHMgKi8NCiAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgaWYgKG1zbC0+YmFzZV92YSA9PSBOVUxMKQ0KICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlOw0KICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAvKiBza2lwIGxpc3RzIHdoZXJlIHRoZXJlIGlzIGF0IGxlYXN0IG9uZSBwYWdlIGFsbG9j YXRlZCAqLw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAobXNsLT5tZW1zZWdfYXJy LmNvdW50ID4gMCkNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBj b250aW51ZTsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLyogdGhpcyBpcyBhbiB1bnVz ZWQgbGlzdCwgZGVhbGxvY2F0ZSBpdCAqLw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICBt ZW1fc3ogPSBtc2wtPmxlbjsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbXVubWFwKG1z bC0+YmFzZV92YSwgbWVtX3N6KTsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbXNsLT5i YXNlX3ZhID0gTlVMTDsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gaGVyZSwgd2Ug c2hvdWxkIGFkZCBtc2wtPmxlbiA9IDA7ID8NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg bXNsLT5oZWFwID0gMDsNCg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvKiBkZXN0cm95 IGJhY2tpbmcgZmJhcnJheSAqLw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICBydGVfZmJh cnJheV9kZXN0cm95KCZtc2wtPm1lbXNlZ19hcnIpOw0KICAgICAgICAgICAgICB9DQoNCkFueSBj b21tZW50Pw0KVGhhbmsgeW91Lg0KDQoNCkJlc3QgcmVnYXJkcw0KWWFuIFhpYW9waW5nDQoNCg==