From patchwork Mon Dec 31 06:23:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 10745307 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3C1CC91E for ; Mon, 31 Dec 2018 06:23:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1105628986 for ; Mon, 31 Dec 2018 06:23:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E1215289B0; Mon, 31 Dec 2018 06:23:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7498228986 for ; Mon, 31 Dec 2018 06:23:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726401AbeLaGXe (ORCPT ); Mon, 31 Dec 2018 01:23:34 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:46955 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725949AbeLaGXd (ORCPT ); Mon, 31 Dec 2018 01:23:33 -0500 Received: by mail-ed1-f66.google.com with SMTP id o10so21877738edt.13 for ; Sun, 30 Dec 2018 22:23:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=l6iM81CRu9N05lxWp2IpYa0Yj/YMIW7BHLG6MyzjHkU=; b=hv/mT2RjwjHQwTA48ZpcqwPz7J359idYzAnMH2thjPbVcmhgjd2VHocVEoCb3GNAOH O6hDFboNl4AMUmrGqYfT/aezAEwbLirjhXEKPdtfCSDhhmQpTRMN1LBoqZS9iAP+1A9U Ay2uHv7ABAiDl1U+A3P7KSStuNKObrEwu8r54= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=l6iM81CRu9N05lxWp2IpYa0Yj/YMIW7BHLG6MyzjHkU=; b=avtsKtHOafvJ+yD/kYUv4jqN1/9WeRPam24MkbXQg+btHrnBuQf7NIg8Gvl3CiJDw6 6IzZl90OlIjM+25BCbuoLJ6WcXEsGgyGnT7hLUoE0e+Hgr7OI8/fYRFJEqYsPM9+7wq3 nbWNwUGweq7qiZY4Nz5ru/Bx7BMiMOn7gLae5IpaTl5Jhp1F0l5j8hxDhWI6sy6FAAhs VpFBFIxYuoKczEwBoU6N9R6CB20GWYtNmC3I+PpWIZ1pIvtFtn+QHhN5Scs9rzzRAUWO K0FccFcdV0XxN15cJInOnB5hUUWNLaAR/AQBRvlUGIqop5jA+w0XY2G+iu8b2iwoNCrx CWpA== X-Gm-Message-State: AA+aEWaI6XbDDRtkF+2gbPOxjSjNB1iC/9iSZmMfNzUxyFH6EpCEVPL3 qKTl4cvl8WlyQ8O+22FRDi3yXp2ic7g= X-Google-Smtp-Source: AFSGD/WeLuZI0gg5CoETIOR+co0Cqq4Urt37RMBZbqAuOFzr+4IVVyH8QFO2R1vyuUWLru6mvveysQ== X-Received: by 2002:aa7:dace:: with SMTP id x14mr32365452eds.13.1546237411040; Sun, 30 Dec 2018 22:23:31 -0800 (PST) Received: from neo00-el73.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id v20sm17747849edm.29.2018.12.30.22.23.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Dec 2018 22:23:30 -0800 (PST) From: Devesh Sharma To: linux-rdma@vger.kernel.org Cc: dledford@redhat.com, jgg@mellanox.com, Devesh Sharma Subject: [for-next 0/7] Add support for Broadcom's 57500 series of adapters Date: Mon, 31 Dec 2018 01:23:12 -0500 Message-Id: <1546237399-16234-1-git-send-email-devesh.sharma@broadcom.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is to enable RoCE on Broadcom's 57500 series of adapters. Patch 0001, 0002 and 0003 are handing the control path changes. Patch 0004 and 0005 are related to kernel space fast path. Patch 0006 handle the user-kernel ABI changes. Patch 0007 is to enable RoCE driver load on next gen chips. This patch series is requires a patch from Linus git 78793afbb0b9 ("bnxt_en: Increase context memory allocations on 57500 chips for RDMA.") Devesh Sharma (7): RDMA/bnxt_re: Add chip context to identify 57500 series RDMA/bnxt_re: Add 64bit doorbells for 57500 series RDMA/bnxt_re: Skip backing store allocation for 57500 series RDMA/bnxt_re: Enable GSI QP support for 57500 series RDMA/bnxt_re: Add extended psn structure for 57500 adapters RDMA/bnxt_re: Update kernel user abi to pass chip context RDMA/bnxt_en: Enable RDMA driver support for 57500 chip drivers/infiniband/hw/bnxt_re/bnxt_re.h | 1 + drivers/infiniband/hw/bnxt_re/ib_verbs.c | 119 ++++++++++++------- drivers/infiniband/hw/bnxt_re/main.c | 106 +++++++++++++---- drivers/infiniband/hw/bnxt_re/qplib_fp.c | 159 ++++++++++++++++---------- drivers/infiniband/hw/bnxt_re/qplib_fp.h | 49 +++++++- drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 34 ++++-- drivers/infiniband/hw/bnxt_re/qplib_rcfw.h | 44 ++++++- drivers/infiniband/hw/bnxt_re/qplib_res.c | 10 +- drivers/infiniband/hw/bnxt_re/qplib_res.h | 28 ++++- drivers/infiniband/hw/bnxt_re/qplib_sp.c | 3 +- drivers/infiniband/hw/bnxt_re/roce_hsi.h | 150 +++++++++++++++--------- drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c | 3 - include/uapi/rdma/bnxt_re-abi.h | 9 +- 13 files changed, 506 insertions(+), 209 deletions(-)