From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935158AbdK2R5R (ORCPT ); Wed, 29 Nov 2017 12:57:17 -0500 Received: from ale.deltatee.com ([207.54.116.67]:41906 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935064AbdK2Rzx (ORCPT ); Wed, 29 Nov 2017 12:55:53 -0500 From: Logan Gunthorpe To: linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org Cc: Jon Mason , Dave Jiang , Allen Hubbe , Kelvin Cao , Logan Gunthorpe Date: Wed, 29 Nov 2017 10:55:23 -0700 Message-Id: <20171129175530.31032-1-logang@deltatee.com> X-Mailer: git-send-email 2.11.0 X-SA-Exim-Connect-IP: 172.16.1.31 X-SA-Exim-Rcpt-To: linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org, jdmason@kudzu.us, dave.jiang@intel.com, Allen.Hubbe@emc.com, kelvin.cao@microsemi.com, logang@deltatee.com X-SA-Exim-Mail-From: gunthorp@deltatee.com Subject: [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 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