From patchwork Thu Feb 7 06:31:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 10800421 X-Patchwork-Delegate: jgg@ziepe.ca 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 8655013B4 for ; Thu, 7 Feb 2019 06:31:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 762BA2CEF0 for ; Thu, 7 Feb 2019 06:31:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A9212D145; Thu, 7 Feb 2019 06:31:57 +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 158212D120 for ; Thu, 7 Feb 2019 06:31:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726642AbfBGGb4 (ORCPT ); Thu, 7 Feb 2019 01:31:56 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:39513 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726636AbfBGGb4 (ORCPT ); Thu, 7 Feb 2019 01:31:56 -0500 Received: by mail-pl1-f195.google.com with SMTP id 101so4346843pld.6 for ; Wed, 06 Feb 2019 22:31:56 -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:in-reply-to:references; bh=WNzBW8W4uQrrJtLg4RMTIMXIZoPMH/bpqyKyS1pLzQs=; b=aSMcZRhr/8uKtnh/E9dK0Mtnl8R9NYYaMBmnDU/SHKyiQ4NCmnKdPmtrxgYG5Sh433 9PVkdVpUw7ZflgOWw8vAUAd/i8P+AhebT3s7yGjVEDwvz4Hw4gXsU/rl5JVubsESN2bq UEbqBSzCqqbqj80EP9zy94AUj92tRhEsPrUKg= 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:in-reply-to :references; bh=WNzBW8W4uQrrJtLg4RMTIMXIZoPMH/bpqyKyS1pLzQs=; b=HojNxb6gF3sIs0KC7BaO2QGijBg4mSiSRZqT1NXfXEJGhgOLwz3zfNVQJ/h45XL5BO XAfPt+IOEe8HNXsrhZHDzB2sRqsfVjLA5sMPK2GbJPqV1muyrxTNo47B9+LbO6kR64on D+sXSkhgCshok3hP2bUna48Uod8Fz8SxlQowv1sUfpVfnxS7Ln90doPOHt83LK2sLiwA 9edYhFVVclRYfU3vxaZjCyirFR/bl7LOUGI2GIiQq5eQMwD4jQqPAeEfiMF5pTYBaknC eG87I4DpdfJXjfvFs86BSQXY0L1w/JoCmo+hzzXEE78bGnTmNE1/aVYTPFUiJcXow1Nz wCUA== X-Gm-Message-State: AHQUAubTcGyI6+qPglROVbD3aG1wOqeyBCO0qB+8Fp/8WHG7qYE9LJMH iZqzOHhfAi2drjMBKCFGZXwtYDD4hUvV8jk5T6GLIgtk4HZ469g0b5LqBoEydaKQwH1O5KLytrG Hfn01PcLJLkShYiMJ45UM1tGCI5QuxLYrGJg0/ZFJQjrH+nA7sVSUwpphPzp/jbwom2vAAfgBlo uXOwg= X-Google-Smtp-Source: AHgI3IaIv1pMxb6IuqcrnYncZWg6vJcL7XmyYdXF7BspI+2QLlmKwPpzbZoXeYWnvoc7FaU3yOV9eQ== X-Received: by 2002:a17:902:8b81:: with SMTP id ay1mr8374311plb.320.1549521115656; Wed, 06 Feb 2019 22:31:55 -0800 (PST) Received: from neo00-el73.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id i74sm1426266pfi.33.2019.02.06.22.31.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Feb 2019 22:31:55 -0800 (PST) From: Devesh Sharma To: linux-rdma@vger.kernel.org Cc: dledford@redhat.com, jgg@mellanox.com, Devesh Sharma , Michael Chan Subject: [for-next V5 7/7] RDMA/bnxt_en: Enable RDMA driver support for 57500 chip Date: Thu, 7 Feb 2019 01:31:28 -0500 Message-Id: <1549521088-6903-8-git-send-email-devesh.sharma@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1549521088-6903-1-git-send-email-devesh.sharma@broadcom.com> References: <1549521088-6903-1-git-send-email-devesh.sharma@broadcom.com> 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 Re-enabling RDMA driver support on 57500 chips. Removing the forced error code for 57500 chip. Signed-off-by: Michael Chan Signed-off-by: Devesh Sharma --- drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c b/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c index ea45a9b..cf47587 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c @@ -43,9 +43,6 @@ static int bnxt_register_dev(struct bnxt_en_dev *edev, int ulp_id, if (ulp_id == BNXT_ROCE_ULP) { unsigned int max_stat_ctxs; - if (bp->flags & BNXT_FLAG_CHIP_P5) - return -EOPNOTSUPP; - max_stat_ctxs = bnxt_get_max_func_stat_ctxs(bp); if (max_stat_ctxs <= BNXT_MIN_ROCE_STAT_CTXS || bp->cp_nr_rings == max_stat_ctxs)