From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00087.outbound.protection.outlook.com [40.107.0.87]) by dpdk.org (Postfix) with ESMTP id F2463DE3 for ; Fri, 25 May 2018 08:38:50 +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=bDWB+ftLlDPioRrNL+RW3ArS4QUBFzffPd8sRK0QgCc=; b=n8H+ur16f5JgMimrGc+XNja0nr7UN+SkwnKi9QU8XnY5HUfeV/OrGPwM1ayNSioJ34dhMFNh2Q0RTBaqalvyl0Zb4qUGxrLABRUy2plf4OMHwb/imHXEnxU4AQqiMa7/RX8gyaKFIrqAYcXGBtv6R4BOjVYCiMyEvix+az0n1hs= Received: from VI1PR05MB1678.eurprd05.prod.outlook.com (10.165.235.152) by VI1PR05MB4752.eurprd05.prod.outlook.com (20.176.4.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.797.11; Fri, 25 May 2018 06:38:49 +0000 Received: from VI1PR05MB1678.eurprd05.prod.outlook.com ([fe80::74c1:f93d:bd5b:df1b]) by VI1PR05MB1678.eurprd05.prod.outlook.com ([fe80::74c1:f93d:bd5b:df1b%14]) with mapi id 15.20.0797.011; Fri, 25 May 2018 06:38:49 +0000 From: "Xueming(Steven) Li" To: "Xueming(Steven) Li" , Shahaf Shuler , Yongseok Koh CC: "dev@dpdk.org" , Adrien Mazarguil Thread-Topic: [PATCH] net/mlx5: fix memory region cache init Thread-Index: AQHT8/KgP1ZxkrG8ck+GVp+AKhcILqQ//fjQ Date: Fri, 25 May 2018 06:38:49 +0000 Message-ID: References: <20180525063538.24363-1-xuemingl@mellanox.com> In-Reply-To: <20180525063538.24363-1-xuemingl@mellanox.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; VI1PR05MB4752; 7:GrAWPKXU7bA2iDdDNF6iBjzZilCMCJqqK83D0rbfXX9UcLpEdiltwpGty5yodsbphfh/pZQv6s4GaLPq5PgeD0Y0rSMmOjjmcsJ3G3Xhws5k1WjaA/b6yj7ofnsQJrIwkdy31mNNdCZL5bQ398jaqar9PIPopIQ9AXNzd5A9TdbeHFvQf5vWs/QwFricis7cZwFWRhY9WWKrJcu+Uizm+Vxxy/57wEbV48tDhb7zkGQFC6gMrmCn8rltTfqZ9vF7 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:VI1PR05MB4752; x-ms-traffictypediagnostic: VI1PR05MB4752: 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)(3231254)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:VI1PR05MB4752; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB4752; x-forefront-prvs: 06833C6A67 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39380400002)(39860400002)(396003)(366004)(346002)(199004)(189003)(13464003)(76176011)(316002)(305945005)(99286004)(7696005)(2900100001)(81166006)(59450400001)(81156014)(8676002)(8936002)(26005)(9686003)(6306002)(6436002)(5250100002)(229853002)(478600001)(14454004)(55016002)(966005)(25786009)(3660700001)(2906002)(7736002)(74316002)(3280700002)(86362001)(4326008)(53376002)(6246003)(53936002)(33656002)(6116002)(3846002)(68736007)(5660300001)(6636002)(97736004)(476003)(486006)(66066001)(6506007)(102836004)(54906003)(110136005)(53546011)(105586002)(106356001)(446003)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB4752; H:VI1PR05MB1678.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: TAIq5hfM27lrtx6Jb8f9vMLYG5M4CN0NrxmnZlty3peNeIhvJjzuFXaoHcNmxpACGXJXGFazWT4GLWbSDtNqjDneK34hW99DXYQDYaLn2XD5djWEsi3RCxfjxnr1Z/+x/Yx59f0XnHumyaXEPU5q93/JxPrhZxKQ/pio91wgqx4JdV/cHJRIo1oCotYD4CN5 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: a6b3d9f6-1083-45ee-dfe6-08d5c20a2c65 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6b3d9f6-1083-45ee-dfe6-08d5c20a2c65 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2018 06:38:49.1722 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB4752 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix memory region cache init X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List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