From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935225AbdK2R6c (ORCPT ); Wed, 29 Nov 2017 12:58:32 -0500 Received: from ale.deltatee.com ([207.54.116.67]:42040 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935197AbdK2R6G (ORCPT ); Wed, 29 Nov 2017 12:58:06 -0500 To: linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org Cc: Jon Mason , Dave Jiang , Allen Hubbe , Kelvin Cao References: <20171129175530.31032-1-logang@deltatee.com> From: Logan Gunthorpe Message-ID: Date: Wed, 29 Nov 2017 10:58:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171129175530.31032-1-logang@deltatee.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 172.16.1.162 X-SA-Exim-Rcpt-To: kelvin.cao@microsemi.com, Allen.Hubbe@emc.com, dave.jiang@intel.com, jdmason@kudzu.us, linux-kernel@vger.kernel.org, linux-ntb@googlegroups.com X-SA-Exim-Mail-From: logang@deltatee.com Subject: Re: [PATCH 0/7] Switchtec NTB Crosslink Support 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Also, I forgot to mention, this patch set is based on today's ntb-next. Logan On 29/11/17 10:55 AM, Logan Gunthorpe wrote: > Hi, > > This patch series adds support for the Switchtec Crosslink feature. > Crosslink is similar to B2B in that it allows two switches to be > connected back to back. > > Two switches can already be connected between two hosts, however with this > setup, there would be no symmetry as one switch would handle NTB and the > other would just need to be a single partition switch. Our customers are > looking for a completely symmetric solution such that a host or switch > can be easily replaced without needing to worry about which half was > replaced. > > Crosslink solves this problem by having each of the switches configured > with two partitions. This results in a special host-less partition in > the middle of the connection which can be managed in such a way as > to forward all the traffic and still provide all the same NTB > functionality. In this way, both hosts and switches can be identical. > > Please see Patch 6 for a bit more detailed description of how Crosslink > works. > > Thanks, > > Logan > > Kelvin Cao (1): > ntb_hw_switchtec: Allow using Switchtec NTB in multi-partition setups > > Logan Gunthorpe (6): > ntb_hw_switchtec: Keep track of the number of LUT windows used by the > driver > ntb_hw_switchtec: Create helper function to setup reserved LUT MWs > ntb_hw_switchtec: Make switchtec_ntb_init_req_id_table() more general > ntb_hw_switchtec: Expand PFF CSR registers > ntb_hw_switchtec: Add initialization code for crosslink > ntb_hw_switchtec: Crosslink doorbells and messages > > drivers/ntb/hw/mscc/ntb_hw_switchtec.c | 494 +++++++++++++++++++++++++++------ > include/linux/ntb.h | 15 +- > include/linux/switchtec.h | 23 +- > 3 files changed, 435 insertions(+), 97 deletions(-) > > -- > 2.11.0 >