Return-Path: Received: from userp1040.oracle.com ([156.151.31.81]:32309 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752000AbbGTUzu convert rfc822-to-8bit (ORCPT ); Mon, 20 Jul 2015 16:55:50 -0400 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [PATCH v3 05/15] xprtrdma: Remove last ib_reg_phys_mr() call site From: Chuck Lever In-Reply-To: <55AD5B48.3010906@talpey.com> Date: Mon, 20 Jul 2015 16:55:47 -0400 Cc: linux-rdma@vger.kernel.org, Linux NFS Mailing List Message-Id: <06BCEDB0-1589-454B-BDD1-9937290AAD29@oracle.com> References: <20150720185624.10997.51574.stgit@manet.1015granger.net> <20150720190311.10997.12636.stgit@manet.1015granger.net> <55AD5B48.3010906@talpey.com> To: Tom Talpey Sender: linux-nfs-owner@vger.kernel.org List-ID: Hi Tom- On Jul 20, 2015, at 4:34 PM, Tom Talpey wrote: > On 7/20/2015 12:03 PM, Chuck Lever wrote: >> All HCA providers have an ib_get_dma_mr() verb. Thus >> rpcrdma_ia_open() will either grab the device's local_dma_key if one >> is available, or it will call ib_get_dma_mr() which is a 100% >> guaranteed fallback. > > I recall that in the past, some providers did not support mapping > all of the machine's potential physical memory with a single dma_mr. > If an rnic did/does not support 44-ish bits of length per region, > for example. The buffers affected by this change are small, so I?m confident that restriction would not be a problem here. What might break with such restricted hardware is ALLPHYSICAL on large-memory systems. ALLPHYSICAL does rely on a single DMA MR that covers all of the NFS client?s memory. That would be a problem both before and after this patch, as far as I can tell. > Have you verified that all current providers do in fact support the > necessary physical address range for this, and that the requirement > is stated in the verbs going forward? -- Chuck Lever