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 0B2BBA04A2; Wed, 6 Nov 2019 07:16:09 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E179B1BF2F; Wed, 6 Nov 2019 07:16:08 +0100 (CET) Received: from huawei.com (szxga08-in.huawei.com [45.249.212.255]) by dpdk.org (Postfix) with ESMTP id 693851BF22 for ; Wed, 6 Nov 2019 07:16:07 +0100 (CET) Received: from DGGEMM405-HUB.china.huawei.com (unknown [172.30.72.53]) by Forcepoint Email with ESMTP id 97B2F9F52AEB2599D871; Wed, 6 Nov 2019 14:16:05 +0800 (CST) Received: from DGGEMM424-HUB.china.huawei.com (10.1.198.41) by DGGEMM405-HUB.china.huawei.com (10.3.20.213) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 6 Nov 2019 14:16:04 +0800 Received: from DGGEMM533-MBX.china.huawei.com ([169.254.5.114]) by dggemm424-hub.china.huawei.com ([10.1.198.41]) with mapi id 14.03.0439.000; Wed, 6 Nov 2019 14:15:57 +0800 From: "Wangyu (Eric)" To: dengxiaofeng , David Marchand CC: "dev@dpdk.org" , "ferruh.yigit@intel.com" , Linuxarm , "humin (Q)" , "Liyuan (Larry)" Thread-Topic: [dpdk-dev] [PATCH v2] bus/pci: resolve multiple NICs address conflicts Thread-Index: AdWTqbUcVGrMoqfPRo+oZbLD03ZZLf//8mAA//5zm3D//OZfMA== Date: Wed, 6 Nov 2019 06:15:56 +0000 Message-ID: <78A93308629D474AA53B84C5879E84D24B103B0C@DGGEMM533-MBX.china.huawei.com> References: <78A93308629D474AA53B84C5879E84D24B102602@DGGEMM533-MBX.china.huawei.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.57.112.122] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: [dpdk-dev] =?utf-8?b?562U5aSNOiAgW1BBVENIIHYyXSBidXMvcGNpOiByZXNv?= =?utf-8?q?lve_multiple_NICs_address_conflicts?= 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" DQpJbiA2NEsgcGFnZXNpemUgc3lzdGVtLCBEUERLIHdpbGwgcmVhZCB0aGUgc2l6ZSBOSUMgbmVl ZCBpbiB1aW8vdWlvMS9tYXBzL21hcDEvc2l6ZSwgIHdoZW4gdGhlIHNpemUgc21hbGwgdGhhbiBw YWdlc2l6ZShlLmcuLDgyNTk5IGlzIDE2SyksIGRldi0+bWVtX3Jlc291cmNlW2ldLmxlbiB3aWxs IGJlIDE2SywgYnV0IHRoZSBtbWFwIGZ1bmN0aW9uIGFwcGxpZXMgZm9yIGF0IGxlYXN0IDEgcGFn ZSBzaXplLCB3aGljaCBpcyA2NEsuIA0KVGhlbiBzZWNvbmQgTklDIG1tYXAsIHN0YXJ0IGFkZHJl c3MgaXMgZmlyc3QgTklDIGFkZHJlc3MgKyAxNkssIHdoaWNoIGFscmVhZHkgdXNlZCBieSBmaXJz dCBOSUMuDQpTbyBpZiBjaGFuZ2UgdGhlIHNpemUgdG8gZmlyc3QgTklDIGFkZHJlc3MgKyA2NEss IHByb2JsZW0gc29sdmVkLg0KDQotLS0tLemCruS7tuWOn+S7ti0tLS0tDQrlj5Hku7bkuro6IERh dmlkIE1hcmNoYW5kIFttYWlsdG86ZGF2aWQubWFyY2hhbmRAcmVkaGF0LmNvbV0NCuWPkemAgeaX tumXtDogMjAxOeW5tDEx5pyINeaXpSAyMjozMw0K5pS25Lu25Lq6OiBXYW5neXUgKFR1cmluZyBT b2x1dGlvbiBEZXZlbG9wbWVudCBEZXApIDxzZXZlbi53YW5neX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nQpZ2V0cGFnZXNpemUoKTsNCj4gICAgICAgICAgICAgICAgICAgICAgICAgLyogbm90 IG1hcHBlZCBmb3Igbm93ICovDQo+ICAgICAgICAgICAgICAgICAgICAgICAgIGRldi0+bWVtX3Jl c291cmNlW2ldLmFkZHIgPSBOVUxMOw0KPiAgICAgICAgICAgICAgICAgfQ0KPiAtLQ0KPiAxLjgu My4xDQoNCg0KLS0NCkRhdmlkIE1hcmNoYW5kDQoNCg==