Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2438968imu; Thu, 17 Jan 2019 14:19:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN5ujRId5wOQadWW30DZc7pVAYBSQiDWYWdLwTTYB8YPegE+JinCf5akaA5CLj055SDRLWEx X-Received: by 2002:a63:c42:: with SMTP id 2mr15204467pgm.372.1547763585632; Thu, 17 Jan 2019 14:19:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547763585; cv=none; d=google.com; s=arc-20160816; b=umf1vs+y0aLKJWU1q015C9TdNVeHlcJnPJHgp9hWIEBUiI2LSUW9I1qK6/Ypr+ItYj m6z38lgy51xcmWZ5lUAFTg9vVUfTPRVrVr0lS6o8VZCBaGYZka21hGaQnfXMvKYbWrha qUkY+0ghZOYSa920S7qHXZSnpzU495QgFcobvEiaOGu1ViayXvHk0uvhYIUYkvXMzoSG 00JuF/SH33ylxerUeuPOi/8FT2yNUrJX6mfWmrdw/QWWteY18N6rX+FxdjEiQskETLkF Wan9lBvaIAa85MG3FNXv7RLAy/Va62VTLEqphRbrpKkgm/Pw5v5/PDjOA/OSKW98ezzc 4dAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to; bh=R8W4WCm7spBWkMXNOSK+H7xwnZDZNS1dkzSvJHkLgl0=; b=xpI62rnZqr/YNmlEhxB5tOsPe+W8kikLtsC0SWoHUtRjDrZG4CF5aeSYgNNYNm+8Wr B8UYN3rE7o/SU2JOxYysJcg0JLlCAtDWMBlUPOkV53UAu8LPehGL9UrWhpFIq8KS5IzC yHGBi9yOOAVu5tE84L9DzmkYRs92yONLa4fKOdLzLtn8x4m6/2Bo1kVTIhTPe23L9Mcp rcgNgTuHk1ZPZDD1dGpeRqQ7KKWjI3jCCBTL+buH8mm0EEQpfDDTuS7HPzM4HSBn7A7K 1yMcF0j6xi1Tse9QqghU5SD5VrYZNnLnUakurXBfr8voBkhMyVAFpQCYBE069UlnP2Xg qtVA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4si2814945plc.320.2019.01.17.14.19.27; Thu, 17 Jan 2019 14:19:45 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728637AbfAQWR7 (ORCPT + 99 others); Thu, 17 Jan 2019 17:17:59 -0500 Received: from ale.deltatee.com ([207.54.116.67]:44976 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727819AbfAQWR6 (ORCPT ); Thu, 17 Jan 2019 17:17:58 -0500 Received: from guinness.priv.deltatee.com ([172.16.1.162]) by ale.deltatee.com with esmtp (Exim 4.89) (envelope-from ) id 1gkFyr-000871-SN; Thu, 17 Jan 2019 15:17:46 -0700 To: Vincent Whitchurch , Arnd Bergmann Cc: sudeep.dutt@intel.com, ashutosh.dixit@intel.com, gregkh , Linux Kernel Mailing List , Kishon Vijay Abraham I , Lorenzo Pieralisi , linux-pci , linux-ntb@googlegroups.com, Jon Mason , Dave Jiang , Allen Hubbe References: <20190116163253.23780-1-vincent.whitchurch@axis.com> <20190117105441.eqediwlekofp2srg@axis.com> <20190117151906.odvozs6kz3uvx32y@axis.com> From: Logan Gunthorpe Message-ID: <62e5f3e7-e2e3-c6ce-b8f6-99a5342c1494@deltatee.com> Date: Thu, 17 Jan 2019 15:17:41 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190117151906.odvozs6kz3uvx32y@axis.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 172.16.1.162 X-SA-Exim-Rcpt-To: allenbh@gmail.com, dave.jiang@intel.com, jdmason@kudzu.us, linux-ntb@googlegroups.com, linux-pci@vger.kernel.org, lorenzo.pieralisi@arm.com, kishon@ti.com, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, ashutosh.dixit@intel.com, sudeep.dutt@intel.com, arnd@arndb.de, vincent.whitchurch@axis.com X-SA-Exim-Mail-From: logang@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-8.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-01-17 8:19 a.m., Vincent Whitchurch wrote: > On the endpoint, the PCIe endpoint driver sets up (hardcoded) BARs and > memory regions as required to allow the endpoint and the root complex to > access each other's memory. This statement describes NTB hardware pretty well. In essence that's what an NTB device is: a BAR that maps to a window in other hosts memory. Right now the entire NTB upstream software stack (ntb_transport and ntb_netdev) is specific to that ecosystem and only exposes a network device so the hosts can communicate. This code works but has some issues and was never able to perform at full PCIe line speeds (which everyone expects). So it's not clear to me if anyone is doing anything real with it. The companies that are working on NTB, that I'm aware of, have mostly done their own out-of-tree stuff. It would be interesting to unify ntb_transport with the virtio stack because I suspect they do very similar things right now and there's a lot more devices above virtio than just a network device. However, the main problem people working on NTB face (besides performance) is trying to get multi-host working in a general and sensible way given that the hardware typically has limited BAR resources (among other limitations). Logan