From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0070.outbound.protection.outlook.com [104.47.0.70]) by dpdk.org (Postfix) with ESMTP id 56DC21D978 for ; Sun, 10 Jun 2018 13:01:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FAsiAtXhY+TGTX1+sfQnEr/IZVf9JRhzDplvrnfNmvY=; b=ugVQOXLTJ36wXhRogAbC8Jp6QnhmFMeNxbqtkrRpq1/K1wY/BJyvW/ePBJjqsy+bM+KYB0w1s6UeFosItXSv9mfK4/UWJiKAYY7NObE99pjQ1dLX7eoJCf5otfuyyCbj5Rs0mPJPpKXSkSoW3KzfQYb/rwRhbvra0NwgQMlltNc= Received: from VI1PR05MB1678.eurprd05.prod.outlook.com (10.165.235.152) by VI1PR05MB3229.eurprd05.prod.outlook.com (10.170.238.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.18; Sun, 10 Jun 2018 11:00:58 +0000 Received: from VI1PR05MB1678.eurprd05.prod.outlook.com ([fe80::e06e:5570:1949:413d]) by VI1PR05MB1678.eurprd05.prod.outlook.com ([fe80::e06e:5570:1949:413d%6]) with mapi id 15.20.0841.019; Sun, 10 Jun 2018 11:00:57 +0000 From: "Xueming(Steven) Li" To: Adrien Mazarguil , Shahaf Shuler CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 1/7] net/mlx5: rename confusing object in probe code Thread-Index: AQHT9EZuMg5m/jAJtkeO7ysrHPGrK6RZNEqg Date: Sun, 10 Jun 2018 11:00:57 +0000 Message-ID: References: <20180525161814.13873-1-adrien.mazarguil@6wind.com> <20180525161814.13873-2-adrien.mazarguil@6wind.com> In-Reply-To: <20180525161814.13873-2-adrien.mazarguil@6wind.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=xuemingl@mellanox.com; x-originating-ip: [180.174.142.249] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB3229; 7:GFN+s7deJj2ce8NLgsZUggv88p4MzyycjGtDCviw70CG9c5eHiLlXjc5VDWvkFykliqGHbm1UlN4Z3rQiQZgy0TO4zr6dv4Dx0apKuCExnz3XPQOqoxDz93O+0a9KqonrxWhG1H7pKBilp+/ATiWwQSNzHy5InI7NkZwHFSnO2fCtHVz+QVps8Paz6hsYQ0vnZTo/ajh5yYiuSw1+jO9IDb5rEWOVqTXn43Wv77+3RXausmje6MVNNpxuxw0kB1Q x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR05MB3229; x-ms-traffictypediagnostic: VI1PR05MB3229: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:VI1PR05MB3229; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB3229; x-forefront-prvs: 0699FCD394 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(39380400002)(346002)(396003)(366004)(189003)(199004)(13464003)(6436002)(33656002)(3280700002)(5250100002)(4326008)(105586002)(55016002)(305945005)(316002)(6636002)(7736002)(110136005)(74316002)(66066001)(106356001)(25786009)(8936002)(2906002)(229853002)(81166006)(81156014)(2900100001)(53546011)(6506007)(76176011)(68736007)(7696005)(59450400001)(97736004)(6116002)(3846002)(186003)(102836004)(26005)(53936002)(486006)(3660700001)(99286004)(5660300001)(14454004)(9686003)(86362001)(446003)(476003)(11346002)(6246003)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB3229; H:VI1PR05MB1678.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 05CqkoJEpnhX7FO1uIgoOzK9kUmJdLFRr21mOf47U1ZIBco7ZUBunAefvSaGxj4NJIonQTQblZXNj458KFZmiXIQcmXUSjzCjQ/jn5HX6UPNh3Svr5o1xJvBNPX4+vwD6NjEU9xd0EVpZ5n38LlZYkwOV9phNEERnjWwuKYW9ganRiwXufChOM5jdxDXzFyK spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 3637c42a-af6c-4a73-1123-08d5cec17206 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3637c42a-af6c-4a73-1123-08d5cec17206 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2018 11:00:57.8202 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3229 Subject: Re: [dpdk-dev] [PATCH 1/7] net/mlx5: rename confusing object in probe code 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: , X-List-Received-Date: Sun, 10 Jun 2018 11:01:00 -0000 QWNrIGV4Y2VwdCBvbmUgbWlub3IgcXVlc3Rpb24gYmVsb3cuDQoNCj4gLS0tLS1PcmlnaW5hbCBN ZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IDxkZXYtYm91bmNlc0BkcGRrLm9yZz4gT24gQmVoYWxm IE9mIEFkcmllbiBNYXphcmd1aWwNCj4gU2VudDogU2F0dXJkYXksIE1heSAyNiwgMjAxOCAxMjoz NSBBTQ0KPiBUbzogU2hhaGFmIFNodWxlciA8c2hhaGFmc0BtZWxsYW5veC5jb20+DQo+IENjOiBk ZXZAZHBkay5vcmcNCj4gU3ViamVjdDogW2RwZGstZGV2XSBbUEFUQ0ggMS83XSBuZXQvbWx4NTog cmVuYW1lIGNvbmZ1c2luZyBvYmplY3QgaW4gcHJvYmUgY29kZQ0KPiANCj4gVGhlcmUgYXJlIHNl dmVyYWwgYXR0cmlidXRlIG9iamVjdHMgaW4gdGhpcyBmdW5jdGlvbjoNCj4gDQo+IC0gSUIgZGV2 aWNlIGF0dHJpYnV0ZXMgKHN0cnVjdCBpYnZfZGV2aWNlX2F0dHJfZXggZGV2aWNlX2F0dHIpLg0K PiAtIERpcmVjdCBWZXJicyBhdHRyaWJ1dGVzIChzdHJ1Y3QgbWx4NWR2X2NvbnRleHQgYXR0cnNf b3V0KS4NCj4gLSBQb3J0IGF0dHJpYnV0ZXMgKHN0cnVjdCBpYnZfcG9ydF9hdHRyKS4NCj4gLSBJ QiBkZXZpY2UgYXR0cmlidXRlcyBhZ2FpbiAoc3RydWN0IGlidl9kZXZpY2VfYXR0cl9leCBkZXZp Y2VfYXR0cl9leCkuDQo+IA0KPiAiYXR0cnNfb3V0IiBpcyBib3RoIG9kZCBhbmQgaW5pdGlhbGl6 ZWQgdXNpbmcgYSBub25zdGFuZGFyZCBzeW50YXguIFJlbmFtZSBpdCAiZHZfY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