From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH V3 1/5] RDMA/core: Transport-independent access flags Date: Thu, 23 Jul 2015 22:46:45 -0600 Message-ID: <20150724044645.GA17482@obsidianresearch.com> References: <55A24571.60902@dev.mellanox.co.il> <00e201d0be6a$e49bc910$add35b30$@opengridcomputing.com> <20150714194512.GA25887@infradead.org> <00f901d0be6f$70c96b00$525c4100$@opengridcomputing.com> <1828884A29C6694DAF28B7E6B8A82373A901C9A5@ORSMSX109.amr.corp.intel.com> <009e01d0c57a$37d5b9e0$a7812da0$@opengridcomputing.com> <1828884A29C6694DAF28B7E6B8A82373A901DB80@ORSMSX109.amr.corp.intel.com> <20150723235310.GA20537@obsidianresearch.com> <1828884A29C6694DAF28B7E6B8A82373A901DBA9@ORSMSX109.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1828884A29C6694DAF28B7E6B8A82373A901DBA9@ORSMSX109.amr.corp.intel.com> Sender: target-devel-owner@vger.kernel.org To: "Hefty, Sean" Cc: "Marciniszyn, Mike" , Steve Wise , 'Christoph Hellwig' , 'Sagi Grimberg' , 'Steve Wise' , 'Tom Talpey' , 'Doug Ledford' , "sagig@mellanox.com" , "ogerlitz@mellanox.com" , "roid@mellanox.com" , "linux-rdma@vger.kernel.org" , "eli@mellanox.com" , "target-devel@vger.kernel.org" , "linux-nfs@vger.kernel.org" , "trond.myklebust@primarydata.com" , "bfields@fieldses.org" , 'Oren Duer' List-Id: linux-rdma@vger.kernel.org On Fri, Jul 24, 2015 at 12:18:41AM +0000, Hefty, Sean wrote: > > The lkey is possibly useful if someone wants to do single op transfers > > larger than the S/G limit of the SQE. I haven't noticed any ULPs doing > > that.. > > That changes how the buffer is identified, which gets back to my > question of are we identifying local buffers by address or through > some sort of iova/tag/descriptor/mr/whatever. Do we have this right > in the API? After Sagi's work, and my patchset, all ULPs will talk about local buffers in only two ways: - struct ib_sge w/ local_dma_lkey - struct scatterlist with memory registration to a simple ib_sge. (only done for iWarp RDMA READ? Maybe iSER DIX as well?) Efforts to unify them have not been successful for fairly reasonable reasons :) Jason