Return-Path: Received: from bombadil.infradead.org ([198.137.202.9]:45100 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751040AbbGKKZq (ORCPT ); Sat, 11 Jul 2015 06:25:46 -0400 Date: Sat, 11 Jul 2015 03:25:38 -0700 From: "'Christoph Hellwig'" To: Jason Gunthorpe Cc: Sagi Grimberg , Tom Talpey , Steve Wise , "'Christoph Hellwig'" , 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@vger.kernel.org, trond.myklebust@primarydata.com, bfields@fieldses.org, Oren Duer Subject: Re: [PATCH V3 1/5] RDMA/core: Transport-independent access flags Message-ID: <20150711102538.GB14741@infradead.org> References: <000b01d0b8bd$f2bfcc10$d83f6430$@opengridcomputing.com> <20150707161751.GA623@obsidianresearch.com> <559BFE03.4020709@dev.mellanox.co.il> <20150707213628.GA5661@obsidianresearch.com> <559CD174.4040901@dev.mellanox.co.il> <20150708190842.GB11740@obsidianresearch.com> <559D983D.6000804@talpey.com> <20150708233604.GA20765@obsidianresearch.com> <559E54AB.2010905@dev.mellanox.co.il> <20150709170142.GA21921@obsidianresearch.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20150709170142.GA21921@obsidianresearch.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Thu, Jul 09, 2015 at 11:01:42AM -0600, Jason Gunthorpe wrote: > To your point in another message, I'd say, as long as the new API > supports FRMR at full speed with no performance penalty we are > good. If the other variants out there take a performance hit, then I > think that is OK. As you say, they are on the way out, we just need to > make sure that ULPs continue to work with FMR with the new API so > legacy cards don't completely break. I think what we need to support for now is FRMR as the primary target, and FMR as a secondard. A few in-kernel drivers support physical registrations, but it's always been clear that they've been a bad idea, and the current discussion reconfirms that again. So a FRMR-like API that allows to use FMRs underneath might be a good start. If the imput to that API are S/G lists as in my suggestion we'll get indirect registration support almost for free.