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 9547FA04AB; Thu, 7 Nov 2019 06:45:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 36EDC1E89A; Thu, 7 Nov 2019 06:45:02 +0100 (CET) Received: from huawei.com (szxga01-in.huawei.com [45.249.212.187]) by dpdk.org (Postfix) with ESMTP id 313B51E886 for ; Thu, 7 Nov 2019 06:45:00 +0100 (CET) Received: from DGGEMM403-HUB.china.huawei.com (unknown [172.30.72.55]) by Forcepoint Email with ESMTP id 54927373DABF2F1ED244; Thu, 7 Nov 2019 13:44:57 +0800 (CST) Received: from DGGEMM533-MBX.china.huawei.com ([169.254.5.114]) by DGGEMM403-HUB.china.huawei.com ([10.3.20.211]) with mapi id 14.03.0439.000; Thu, 7 Nov 2019 13:44:50 +0800 From: "Wangyu (Eric)" To: "Burakov, Anatoly" , David Marchand CC: "dev@dpdk.org" , "ferruh.yigit@intel.com" , Linuxarm , "humin (Q)" , "Liyuan (Larry)" , dengxiaofeng Thread-Topic: [dpdk-dev] [PATCH v2] bus/pci: resolve multiple NICs address conflicts Thread-Index: AdWTqbUcVGrMoqfPRo+oZbLD03ZZLf//8mAA//5zm3D//OZfMIAFxDYAgAA8tgD//magsP/8qocA Date: Thu, 7 Nov 2019 05:44:50 +0000 Message-ID: <78A93308629D474AA53B84C5879E84D24B104514@DGGEMM533-MBX.china.huawei.com> References: <78A93308629D474AA53B84C5879E84D24B102602@DGGEMM533-MBX.china.huawei.com> <78A93308629D474AA53B84C5879E84D24B103B0C@DGGEMM533-MBX.china.huawei.com> <8c50d8b6-4149-f101-fe90-b4c83f9b2b40@intel.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" SGksIEFuYXRvbHkNCg0KVGhhbmsgeW91IGZvciBhZHZpY2VzLiBUaGlzIHByb2JsZW0gd2lsbCBo YXBwZW4gaW4gYm90aCBWRklPIGFuZCBVSU8sIEkgd2lsbCBtb2RpZnkgYm90aCBhY2NvcmRpbmcg dG8geW91ciBhZHZpY2VzIGFuZCB0ZXN0IHRoZW0uDQoNCkkgZGlkIHNvbWUgdGVzdHMgd2l0aCBt bWFwKCkgb24gbXkgc3lzdGVtLCB3aGVuIEkgcHJvdmlkZWQgYWRkcmVzcyBub3QgcGFnZS1hbGln bmVkLCBtbWFwKCkgY291bGQgcmV0dXJuIHBhZ2UtYWxpZ25lZCBhZGRyZXNzIHRvbywgYnV0IHRo ZSBjb2RlIHdpbGwgcmV0dXJuIGZhdWx0IGJlY2F1c2UgbW1hcCgpIHJldHVybiBhZGRyZXNzIHdh cyBub3QgZXF1YWwgd2l0aCBhZGRyZXNzIEkgcHJvdmlkZWQocHJvYmxlbSBvY2N1cnMgaW4gcGNp X3Vpb19tYXBfc2Vjb25kYXJ5KCkpLg0KDQoNCi0tLS0t6YKu5Lu25Y6f5Lu2LS0tLS0NCuWPkeS7 tuS6ujogQnVyYWtvdiwgQW5hdG9seSBbbWFpbHRvOmFuYXRvbHkuYnVyYWtvdkBpbnRlbC5jb21d IA0K5Y+R6YCB5pe26Ze0OiAyMDE55bm0MTHmnIg25pelIDE5OjE1DQrmlLbku7bkuro6IERhdmlk IE1hcmNoYW5kIDxkYXZpZC5tYXJjaGFuZEByZW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