Received: by 10.223.176.5 with SMTP id f5csp485434wra; Tue, 6 Feb 2018 02:19:12 -0800 (PST) X-Google-Smtp-Source: AH8x226TqkhOTBL+XkXBomqYiX213FS9PErmwHgq1gKt0K2Fs9seVkKbArMcik4RnSd8Kmato8HQ X-Received: by 10.101.91.140 with SMTP id i12mr1505641pgr.297.1517912352748; Tue, 06 Feb 2018 02:19:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517912352; cv=none; d=google.com; s=arc-20160816; b=qwqrEUsA25Z0H6kLOxGyjd9t/yXJfo/6s7yoH2YPF8dTZceXr229uE2He63Gs5Taf7 +VUVJ0itnibV1/uZ21neDJdby17IBWXMgrT1tdGMgmCXkkUaOLPdXIomDZVICgaxZjR9 rovhVtJ1N+EoLrQnfJS92DU4Vt8UKX9MFmU25FgYlDLTC5hyyTPCGoABu60rkIhjrFuY T5Ime8rcep1vf54MGBZJU/yZ8Wh2SzEDREMo/fF/ah+R2TSx91jw8wdKcCumm6RxWWSz BIMoCqFhdW0QQxC8jpn+3qOcfvLH8v4pesWm+sKJxKANqtZcMz3k/TLUYfJufsSCAlW3 zLmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:dkim-signature:arc-authentication-results; bh=B8uxvPk3p0GKz8gwJ2g/fcEDwRaOMLKXABDgPQBJ2+8=; b=pyiHgrvhjWPcsXmgKX+lIbiSOem5muS3M69n6ueUx03R6qEd/HRfb39UJiQvp1lRNa SEQXVSR+VuQM1cDpWdKJY3WsrkdiLQjbUtDxCO0C9mjmh2isa/RsPJmg/otWfnRALd1N E1yrFiz0scpouOTLncIXi0ib32Jht3gY5YB4BMApz1TlXUH5NfV8KGSCOrr3KTLjfAPc DpZv+a0xlllSLljmRbjV74NwCZhuZA+qQYSVoBV6ZCfp9n5i0xRN3sXWBZD31tctW9cx vcIjq86zwOLKCaIPaRMNn8x5okkT3ii+CMqw5xLYU/QbVKTq9TkXbZFYJIYqD0frELsE X8Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=MVSb64xf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b187si4991464pgc.283.2018.02.06.02.18.58; Tue, 06 Feb 2018 02:19:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=MVSb64xf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752762AbeBFKQ4 (ORCPT + 99 others); Tue, 6 Feb 2018 05:16:56 -0500 Received: from mail-eopbgr00079.outbound.protection.outlook.com ([40.107.0.79]:35200 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752726AbeBFKQm (ORCPT ); Tue, 6 Feb 2018 05:16:42 -0500 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; bh=B8uxvPk3p0GKz8gwJ2g/fcEDwRaOMLKXABDgPQBJ2+8=; b=MVSb64xfZ885Ob2rk2QXnztAIBmCUre8T+dG8sglAs/ivTztpGsARaDNEyT+KaiH7Fs8tp2iufeSK8Y17zJVHteOlil+jYEYh3jmgDCjIg96UWQ6hHb5gNwSn39kidikzUz88rYyYz1GENeldt5Wy3yKnTwPqInhUsXFiHmRc2g= Received: from HE1PR05CA0095.eurprd05.prod.outlook.com (2a01:111:e400:7a1a::21) by AMSPR05MB115.eurprd05.prod.outlook.com (2a01:111:e400:8019::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.464.11; Tue, 6 Feb 2018 10:16:39 +0000 Received: from VE1EUR03FT011.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::207) by HE1PR05CA0095.outlook.office365.com (2a01:111:e400:7a1a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.464.11 via Frontend Transport; Tue, 6 Feb 2018 10:16:38 +0000 Authentication-Results: spf=pass (sender IP is 193.47.165.134) smtp.mailfrom=mellanox.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=pass action=none header.from=mellanox.com; Received-SPF: Pass (protection.outlook.com: domain of mellanox.com designates 193.47.165.134 as permitted sender) receiver=protection.outlook.com; client-ip=193.47.165.134; helo=mtlcas13.mtl.com; Received: from mtlcas13.mtl.com (193.47.165.134) by VE1EUR03FT011.mail.protection.outlook.com (10.152.18.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.444.13 via Frontend Transport; Tue, 6 Feb 2018 10:16:37 +0000 Received: from MTLCAS13.mtl.com (10.0.8.78) by mtlcas13.mtl.com (10.0.8.78) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Tue, 6 Feb 2018 12:16:36 +0200 Received: from MTLCAS01.mtl.com (10.0.8.71) by MTLCAS13.mtl.com (10.0.8.78) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Tue, 6 Feb 2018 12:16:36 +0200 Received: from [10.223.3.143] (10.223.3.143) by MTLCAS01.mtl.com (10.0.8.71) with Microsoft SMTP Server (TLS) id 14.3.301.0; Tue, 6 Feb 2018 12:16:35 +0200 Subject: Re: [PATCH] nvme-pci: Fix incorrect use of CMB size to calculate q_depth To: Sagi Grimberg , , , , , , References: <1517869943-3655-1-git-send-email-sbates@raithlin.com> <98265620-4f3e-4606-1000-070e717e0624@grimberg.me> From: Max Gurtovoy Message-ID: Date: Tue, 6 Feb 2018 12:16:35 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <98265620-4f3e-4606-1000-070e717e0624@grimberg.me> Content-Type: text/plain; charset="windows-1255"; format=flowed Content-Language: he Content-Transfer-Encoding: 7bit X-Originating-IP: [10.223.3.143] X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:193.47.165.134;IPV:NLI;CTRY:IL;EFV:NLI;SFV:NSPM;SFS:(10009020)(39860400002)(396003)(39380400002)(376002)(346002)(2980300002)(438002)(199004)(189003)(31696002)(86362001)(53546011)(966005)(2906002)(478600001)(2201001)(106466001)(65826007)(1720100001)(6246003)(186003)(16526019)(67846002)(76176011)(77096007)(26005)(336011)(6116002)(3846002)(31686004)(6306002)(229853002)(356003)(7736002)(16576012)(58126008)(50466002)(2950100002)(36756003)(47776003)(305945005)(64126003)(8676002)(81156014)(65956001)(65806001)(83506002)(316002)(5660300001)(110136005)(8936002)(81166006)(230700001)(106002)(3940600001)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:AMSPR05MB115;H:mtlcas13.mtl.com;FPR:;SPF:Pass;PTR:mail13.mellanox.com;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;VE1EUR03FT011;1:97oTLNOz2Ey8tXF5RJtAzPSogX9z9pGJQkTy2NIVxqeAcG8scIfqq1yv/9F5/uF3vy/EWREuPAwpWi7wnjymKLXm/9B8gtGf8uGDUIlwhURCWE4HZ2DJ41wbgnOIfv2n X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8400ad93-d023-4c36-7b46-08d56d4ab57c X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020);SRVR:AMSPR05MB115; X-Microsoft-Exchange-Diagnostics: 1;AMSPR05MB115;3:+F+G3lQZ4G/OZZUTVlTj0e+b4IpkGba9UCxQb0p1eBL7bR9c68sb3LL4CRHL/s3GyCp+fUHTp5ipidsg3SiT10gPpgKit1FbpIiDI413v8XrpBwTYEA99yKZQBat/4LzVlG+GMlCQrgkxG2PReFOg2uGVgPL56CS74FVCdyI1nxLP/wgU0mSS0TE26lAZpaeYrAT7bXu7SVBWjfJ0RQvYqNzvJrMDq/8+0GhZd1O06ThFOFLZ7tZ/oZksGmDJpGl+INFE6mYSy8JMofmDTlBBqIt6nOriCqhF7VCrS3a1F/hrP+OTqAJu3e79mldY6CQfd9ADcH/puwNEnSLEiV2meznbcHcubAdvE1sYm296Sg=;25:smXC79oZwCDTajhp6yLVWR3W8VdOsDsOVx3mFKcg6y0J2GKdPyVM+dW5UCnU6CZ/8TnxKyl0rftR1+8HqVa3fKQe1mtBZQRkyrO+apSjff8BKlj2cZlyRZ2oT+NENIYZa8eESLlrUzAFZS7cPvDkGiZjqMeXFK+3RuuRTdUVQbPUZm2X2kEumjd9t57dvSXlOV+bGLw7Ref5Hp6kACSa+tB6Gh7Wr2l8J7AJym9yI/Q8MfB8B++uPxht57sPN8MI5Jl4EalX5S6/gKeQUneUkRSF91vo1DZdNsZEXfVqMrY1BmAElfjtUhC5kY1FJ00Ja3Qd1MG/4Z3jjwjzRPsqLg== X-MS-TrafficTypeDiagnostic: AMSPR05MB115: X-Microsoft-Exchange-Diagnostics: 1;AMSPR05MB115;31:ApePLjZyRCzq/kpQwOsamMMyHQuUfdwfSMS3NMailAsjcJ0+TFjNI2rSK8nPz0F6xTaAUFzrtq/QxdP48GhHhBLHHtWkyYahrVtEjR1KbkoJFLv/s+4UIIb5iYIFlR2dJYOsCPESH7fWOxAaE26OzIclzVkmAmh0ovasODwXoYhF2XC02aSJplO6K/6ikB12GRvcH37k7kxme5YQO9nfaWWmW71N5eP+94DSCy/7iso=;20:CFieSQFOxJf7Hhwlau1ZX0pfvh5HDXlCi3KTlGD42UpwHXbXbyaO/BHW+VXp4sPyxzDsO5gfOuTXFi6ALdRer9t1xRSRwdXayMQ6QBSubajJmO7YBV29w6/7M+5JBD9EAx62Rv0Y6BXbwMysd2tJOXfPchtjh1jxmYN0db0zauNaIF8PKfLyOrff+qbKCmIrcO8OZkVeHMb5cXO4j9Bumfrprdh1GIZ6bdEJSwbJjLQXtVONXNRGSJdq3BLEHovNAWkyuqsPucAfgUivoW+6XN/5CNmrOHSiEpXgG1RTE7+f4eZUtuHtVXbsomQs8IDkcxGpJPYgXNcnRTFO+mB0Zb//gIoD4oucfTBNBlklE9j9eQRUsrCU2KmC6hDHztjbC0Q3/zL+6tchY+sebQ2fP5n0RwuJPqo9BxfSllESw1E8fyAqweL4UUcsww7w9cLRutjnWU1dVH3ne1QqfSn9DhTVkLhsvSB/Xi5aXqQzg/ak1Cmtf3goZXfbYrQ/PhTj X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(258649278758335); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(5005006)(8121501046)(93006095)(93004095)(3002001)(3231101)(2400082)(944501161)(10201501046)(6055026)(6041288)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011);SRVR:AMSPR05MB115;BCL:0;PCL:0;RULEID:;SRVR:AMSPR05MB115; X-Microsoft-Exchange-Diagnostics: 1;AMSPR05MB115;4:cmyI+iubZdvNojd1GcRvdsxn6WFV2d8EyUuzdiJr1UDDJTBYJMJTLbrs8ScpRKapdbTHnjvgxIASnaIcQemf6Sy5x+Z3BmFLwvzGLB3P5btoMzeJjM1SrcocL686u9pN+P6y4105hu2OlPBbxj63Qz/HHv1o/5awlHuuKofTAo4GDJ0+TElkPkmIW+jTyb3Tx5L0rQ8ZWGzeILTGK1ocM87bsinPbD88KE8OvWmMzzvF10uZq/ykXPHQyjaZ2DTalvkKPNbDi487qxyqjOOp6QLAcpCcDUDfdNFZuYgqmXXPOOXc6KP+0TSzs5pN9y0a X-Forefront-PRVS: 0575F81B58 X-Microsoft-Exchange-Diagnostics: =?windows-1255?Q?1;AMSPR05MB115;23:N7j7MaHQn+AV1l/8Gq3apCgH/+W3CoS3n78fH+?= =?windows-1255?Q?6+lW25E1MXVLSZGINur27OZGHM98quzQMi8jQ0oHkstCZ8DLYSTrXQ1P?= =?windows-1255?Q?w0Uwf6K+YBomBnCMmWca9H1pxrBYGB+Sm69dq52XpDybPqRolkUg6bJe?= =?windows-1255?Q?jlYbA9xBZek6lNN+HfFJ2d5LPVAtBcOexDZxDgJiiK+xkzAlEQLqCSMd?= =?windows-1255?Q?oNvqXgz5Jzzo3Lqqy3BpywAc5PhJO6qNqMTIV4ode7u9rvltHIWA5Wnk?= =?windows-1255?Q?ff9w0fPbIC6Du3gaKNwhWVGO2oAVKaiR3OtNEQjRjHE2arhb0LJNpaxj?= =?windows-1255?Q?y741lr/ByrcRZ7TKoHAeG9mzzuWzyvKdu0MtkXlCGDndeFokqMXr5U5Q?= =?windows-1255?Q?+cmR1eRY9UwGBylBJOq5kjRRNGQXnvXU/4mUnADKWerk3NbhOWFbJJlr?= =?windows-1255?Q?mEbH9iGXb1Y9EgHFu+m35a+ELwJffBhmVQfHQZ7YJCTDqJgKIfNabSh8?= =?windows-1255?Q?P0Y22FdQ/zXRyE1M6MXLAL2Uf+EtvJ288dC44XdXRZqxr/q8ItgBrAwc?= =?windows-1255?Q?nCp+GNuGgnpZBjrHrDFQx4aJlp4vOgYm95+0uDHpt47O9CuRN4fL4au8?= =?windows-1255?Q?dnZBVvI5Im9KQKfo7xx/5fBce5e3XnXqGIVuasJGCinoXrAbQ8zNiNHo?= =?windows-1255?Q?bElTCUlZnp+Or044nmXhUqiGLPptfDWJ7wNEhnCwTXoIYxJ2Oqc/qU/o?= =?windows-1255?Q?DRBEJK2Xq9UFTRmzUylkyb59JahzLVwQLFjrdNeuI2C8HDCUl+BC95OG?= =?windows-1255?Q?f9sTnSdYlPu5lllPelkMOWibqZWe1UZBtjzC8+Tf62f2QjwZIDHf4TDR?= =?windows-1255?Q?cO/e9wjaakfJw8XCNsMs1ciSsJ5wBiygqKit6nN1T3uQaT+lBX3eBk/I?= =?windows-1255?Q?GESa1e4dkiGyupjs/4Ocn1tubMHhf7Oh7uky+aYjvs34sf1iKJ9ePw5p?= =?windows-1255?Q?mGpI4nyDJvCtB1Mvi9j/kRXEdbuSLMVwHa7ThsIcMGmxn9CspR+NDUde?= =?windows-1255?Q?E0I9+pH3Tszs7Fin++chvg+nlwIlJzx/8O3YBwN49ScbC/s8Vz/FMZDq?= =?windows-1255?Q?ss6+M02bX9ISfsl2D8zQ56VTB5PrL9U4EvFd7gg6qaVrEOQ0e/x0VIZk?= =?windows-1255?Q?0gUkDDDpyv1xCdECcEIwX6KLSEypHpu2GnVkZTcIE9FbSrRAQDXPM7fL?= =?windows-1255?Q?nvGJ81QH60NN+mIOGigYTnPG8UL86giDpkkMDJeUPfgYssTZm3ojPqlb?= =?windows-1255?Q?ilSxfHWw3b6eKqQfytqelsTN07SsjpZ0RRWG3TNSVUgdWF9il+hRJRmU?= =?windows-1255?Q?XmlBFLSYtF?= X-Microsoft-Exchange-Diagnostics: 1;AMSPR05MB115;6:SlGj/O3jAkcxMJ8RMCPtBiaxybopMmHfpX8O6Td3ZlNdI6HJrBOUMw7PzMLTARWIYuWcOo4tD00k0DLXBEsU8WDamhdmA/JCYjWa5uPyRbZ7GD59OrJCOVHu2iLExhNuvmP7D+b13DftFgb4k0Fycfu6jfdK4O97KgLVIWj1v+l3K4DtwBmp7zGPqjNLGc0MS1Vw5IxbjKmUcrHPTo63esVa6kh7AgmUo/TOTda2pxbidPZR7CAOct+GxXUM/jtN5Y+yqO0sByt347ByKQIXWeeUx3FODvIlaz17CrVgZmuUkvfGkCwOQPPGyGIrLsMXCvas0sd5ao3uZyUoOLtwojW/ilKUjp5Is+I9rbc4zN8=;5:Zc4y0ZWejl44woiG43RFh+lPhkZVGe6HBdHfZWILKx5xxOJH/ongfMuuQZIPTVPfiLZyKAiLoVv699eGpW/Nj4Hos4X0iNpuG4jTwDIo42pVBEB2Wxp2ohRQvww0FFHc70CgWjJ+En6tgqjqwO3jDEiiqLWTL2c1rwCinmKN1L8=;24:NY6X1/czjGPUsuBJ0AoqFj5FJsFalSvxyKE9Wem2xX5SMU7F4Nnj3k9vXvuLD3Bwc3j4qLLkHr9KnL80RymqFX1xgAKfKlY/SFh6/s9FZkY=;7:u+KYdhkY8nYI5F0qK1RZ4wJafurzotIH2Bwhbg+JdoGsZOrVG5oGZuaFJARLzJJKNCASW/ALmXhUYabNLDP0JH8Q8+wjDvIZC6RPzccFdtkNfXFOtyHBldZxrTlgA/8tc0nVD1WuSPzRmawguA2atPnHHcOnHIM5hp9GKemViAIZI7JgqcXhC3Sn6vdJyiBtAjycdsez7SJz38MWwgFMkZB26ZKNO8VsKBQrt+HbbGPVaw5NZ2NWz1bGtzOsVRLM SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2018 10:16:37.9509 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8400ad93-d023-4c36-7b46-08d56d4ab57c X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a652971c-7d2e-4d9b-a6a4-d149256f461b;Ip=[193.47.165.134];Helo=[mtlcas13.mtl.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AMSPR05MB115 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/6/2018 11:48 AM, Sagi Grimberg wrote: > Looks good, > > Reviewed-by: Sagi Grimberg > > I'll pick this one up unless someone thinks I shouldn't.. Looks good to me (I can imagine what scenario failed this :) ), Reviewed-by: Max Gurtovoy > > _______________________________________________ > Linux-nvme mailing list > Linux-nvme@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-nvme