From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30053.outbound.protection.outlook.com [40.107.3.53]) by dpdk.org (Postfix) with ESMTP id ED03DDE0 for ; Fri, 25 May 2018 15:18:52 +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=eeLCSpLoRJ7zjtBL4zBxWMF3EkMql+iZzKlcM07XWQw=; b=MFlPaM8oe0UC+2ATJSFMO+KFcnQjPGtmAi0eMQlm0hj8ONDIPeGYUDWDgPRHUsa72T8NzFCheVgf4KkhAdZpKkEtULhgdbLoopscP6TrcNzo/J+lSmBNsb2AzO2AP21Dv9hkbsZ2i5VdHrDcJTSXaOFn+qGQhCQVmie7jfSRW/I= Received: from VI1PR05MB1678.eurprd05.prod.outlook.com (10.165.235.152) by VI1PR05MB5023.eurprd05.prod.outlook.com (20.177.52.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.797.11; Fri, 25 May 2018 13:18:48 +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 13:18:47 +0000 From: "Xueming(Steven) Li" To: Yongseok Koh CC: Shahaf Shuler , "dev@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix memory region cache init Thread-Index: AQHT8/KgP1ZxkrG8ck+GVp+AKhcILqRAO+aAgAAxU4A= Date: Fri, 25 May 2018 13:18:47 +0000 Message-ID: References: <20180525063538.24363-1-xuemingl@mellanox.com> <249F1114-CFB6-41A1-9816-CD545514B553@mellanox.com> In-Reply-To: <249F1114-CFB6-41A1-9816-CD545514B553@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; VI1PR05MB5023; 7:LCqsXByincIcm43qXnwH0jW6iz98rwjCVtFWdkyRnGi7IP/d+WO7HKo/SIcEQyLEI2vB0I1wew5KAhAJayS2mlglV6yotGgMK1F5NauzTSPQNEdDHRnvzxBdYwa5DyrKbWGgoZ3mxW04XnYrAT3dbXEreSatl3GmeKxsMqzzMbrda13C9qtxqTVyQXOIp0IDBwFBU1cZCkoYEvycTYWndspi3JurRLosp2MjSSLIhUq/WRk5moMDuBGCngMmenMF 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:VI1PR05MB5023; x-ms-traffictypediagnostic: VI1PR05MB5023: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(17755550239193); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231254)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:VI1PR05MB5023; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB5023; x-forefront-prvs: 06833C6A67 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(396003)(39860400002)(376002)(346002)(366004)(13464003)(199004)(189003)(478600001)(86362001)(106356001)(14454004)(26005)(6116002)(3846002)(305945005)(5660300001)(2900100001)(2906002)(68736007)(6862004)(53546011)(25786009)(6506007)(81156014)(4326008)(81166006)(8676002)(59450400001)(102836004)(105586002)(3660700001)(6246003)(53936002)(9686003)(11346002)(74316002)(446003)(8936002)(6636002)(55016002)(76176011)(229853002)(5250100002)(33656002)(97736004)(476003)(316002)(66066001)(486006)(7696005)(3280700002)(54906003)(99286004)(6436002)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB5023; 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: x/38MHKzsBS9bAlZBOPvhjUJd6ncYW42P2lZGIzC7e84nIaUvk+PexKZ8TcfWHtmZtRllRFr+KaGZFee2ge0FmALrKPQdynFYUMa8BR+5aga6Qt8wpQirUch7MhO8C5FeAY8sKiwkhcg1+u1EPxgw4ZJQ2Io3W/fvW8G3Gk+8CzqQviveIOlj4kpfxwoMyxX 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: 4db2d505-3493-4f59-cd8b-08d5c2420c7a X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4db2d505-3493-4f59-cd8b-08d5c2420c7a X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2018 13:18:47.4391 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB5023 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-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2018 13: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