From patchwork Mon Dec 31 06:10:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 10745291 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 B015B13AD for ; Mon, 31 Dec 2018 06:10:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D39B286F7 for ; Mon, 31 Dec 2018 06:10:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 90354287B6; Mon, 31 Dec 2018 06:10:18 +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 38186286F7 for ; Mon, 31 Dec 2018 06:10:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726988AbeLaGKR (ORCPT ); Mon, 31 Dec 2018 01:10:17 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:36627 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726150AbeLaGKR (ORCPT ); Mon, 31 Dec 2018 01:10:17 -0500 Received: by mail-pg1-f193.google.com with SMTP id n2so12393442pgm.3 for ; Sun, 30 Dec 2018 22:10:17 -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=xJphEiwzEjNOuoP7i+QdvBQ6T0CK6QOjtwLJas3IfC0=; b=HvmZUyxmVDrd+SfeBDTnrwXM8oDFwIxfpdI3wl88urAJgpfloVioddtbikUQuAwCBa BpqBA+gK340l2iIvtZoS0dC/HKQ32f4dhqMj6uDDbbS0XLufAtTn5/egx2y5VV+KD7wt NsqVVQSmJwgiCsC/wGUS1+b8om+rb8NcTx6tQ= 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=xJphEiwzEjNOuoP7i+QdvBQ6T0CK6QOjtwLJas3IfC0=; b=sPxuHKaGmyFn+S7Uh93djmzht3Q98RbhI1yjVCQzdJeuS3ZQjQHFmL2BEouYCgKA8n 5hPRwka904MSm1lQizjAEyNW98avWQ+MXsHYQv6QjduCDjI6F9FX7T+9d3zPj7uUhAvB idQ1fsaWoZ8P7MAJimmBNQNGlpxe3FO3DJEWlQBzoUDfgBWdxVL5bJKghNwgxYGHJzNW mMEYqdVTe8vJBimuY+Quskxm0aaRMnmN/ICF4SU/KvKWPyzlKDXgrF8zeeA8PdEUnnAK 7iWiBmKBDYOyNkyfXylH8dh/C9Xqd0Cs7fZdLw4OuCIRYPf61/EEpsxcDv0CDjYTlbVS wmxw== X-Gm-Message-State: AJcUukcssQhjh1Iy+xD60wkYj1VNlcmy0dDejeh87FXcUWxjv8SAnujf UCXGuHQvIoUMsDS8LmIBA75juagrjKs= X-Google-Smtp-Source: ALg8bN6TNG8cy+hMOhKB/XVXP2lx6zQyUw/BiAlJkNQV8GxmwW4EH2E+ZJPo7uxDVJzMFamBWuGzUg== X-Received: by 2002:a63:c00b:: with SMTP id h11mr6681444pgg.429.1546236616502; Sun, 30 Dec 2018 22:10:16 -0800 (PST) Received: from neo00-el73.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id z9sm135941786pfd.99.2018.12.30.22.10.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Dec 2018 22:10:15 -0800 (PST) From: Devesh Sharma To: linux-rdma@vger.kernel.org Cc: dledford@redhat.com, jgg@mellanox.com, Devesh Sharma Subject: [PATCH 0/7] Add support Broadcom's 57500 series of adapters Date: Mon, 31 Dec 2018 01:10:00 -0500 Message-Id: <1546236607-15948-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 of 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(-)