Return-Path: Received: from p3plsmtpa07-07.prod.phx3.secureserver.net ([173.201.192.236]:53171 "EHLO p3plsmtpa07-07.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751595AbbGNMY5 (ORCPT ); Tue, 14 Jul 2015 08:24:57 -0400 Message-ID: <55A4FF93.4090406@talpey.com> Date: Tue, 14 Jul 2015 08:24:51 -0400 From: Tom Talpey MIME-Version: 1.0 To: Sagi Grimberg , Jason Gunthorpe CC: Christoph Hellwig , Chuck Lever , "Hefty, Sean" , Steve Wise , "dledford@redhat.com" , "sagig@mellanox.com" , "ogerlitz@mellanox.com" , "roid@mellanox.com" , "linux-rdma@vger.kernel.org" , "eli@mellanox.com" , "target-devel@vger.kernel.org" , Linux NFS Mailing List , Trond Myklebust , "J. Bruce Fields" , Oren Duer Subject: Re: [PATCH V3 1/5] RDMA/core: Transport-independent access flags References: <559CD174.4040901@dev.mellanox.co.il> <20150708081320.GB24203@infradead.org> <559CF5E8.6080000@dev.mellanox.co.il> <20150708102035.GA28421@infradead.org> <559D0498.9050809@dev.mellanox.co.il> <1828884A29C6694DAF28B7E6B8A82373A8FFD4C0@ORSMSX109.amr.corp.intel.com> <559E34F8.4080507@dev.mellanox.co.il> <2189DB0A-DD00-4818-AC17-020FCE42D39B@oracle.com> <20150710193409.GA9815@infradead.org> <55A21BF4.7090601@dev.mellanox.co.il> <20150713165007.GD23832@obsidianresearch.com> <55A4C2FA.9060707@dev.mellanox.co.il> In-Reply-To: <55A4C2FA.9060707@dev.mellanox.co.il> Content-Type: text/plain; charset=windows-1252; format=flowed Sender: linux-nfs-owner@vger.kernel.org List-ID: On 7/14/2015 4:06 AM, Sagi Grimberg wrote: > All protocols cares about transferring data and sending messages, so > it's not a good enough reason for a poor registration method choice. > This just emphasizes why we need to converge to a single method. In my opinion, we already have it. For local registrations, ib_reg_phys_mr()/ib_get_dma_mr(). These are not quite equivalent, btw. For remote registrations, ib_post_send(FRMR). Unfortunately, there exist ancient adapters in-tree that don't support FRMR, and some ULPs have attempted to work on them. That's why the situation is confusing.