From patchwork Sat Jan 26 05:55:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 10782335 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 BD47613B5 for ; Sat, 26 Jan 2019 05:56:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABE3B2FC37 for ; Sat, 26 Jan 2019 05:56:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A00E92FC3B; Sat, 26 Jan 2019 05:56:02 +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 8A9052FC37 for ; Sat, 26 Jan 2019 05:56:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727446AbfAZF4B (ORCPT ); Sat, 26 Jan 2019 00:56:01 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:35179 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725562AbfAZF4B (ORCPT ); Sat, 26 Jan 2019 00:56:01 -0500 Received: by mail-ed1-f65.google.com with SMTP id x30so9035946edx.2 for ; Fri, 25 Jan 2019 21:56:00 -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=Pj2+hOfC6//DGDM9/QlW/I1f/OXDNjTnws3k5Q/KFTh454Z8EEhFoXCawn50zcvOcY Sn7l+rKM5WOB0jnttk3JWqRDpJoOnB+5S+8xWeNCD0PjYUVM/ftNiYYNCRHxvjKOwObe g75aVvf1YlGdMmckCSzqwwR+AdKrgcttkGRxo= 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=HNH9B7yBLc21jF0EwBUSjeFqXe636WAddua22HIeMP4IpwdkmXr6e78eG0wjbSmfQ1 suJJZ67pjI++2dZ/ZsrA3Z/ns5HzDYCvdGX/KYE3+TGAo4YxbJCRmZaLFHgRAYSCniqB ihNd6qHNgNYCuxL4bLaJUFIkFSZsiEMqpbkBwGwSaQHnOOnt7uiZCb1w4s0R6jmZbMWF mcnt6qauRsJ0bBzgmGoI3y1CcDPgsvy4blXQx9jqZQO0+6TiAjIVBxw5k+u4SVyvzaTh DO6d7lAvP3p2yocB4z0Qoxnxd4NDXMRZE+o0eqSD0mb8WD15oG3dicFadhF6sJEZ2y3X PS7A== X-Gm-Message-State: AJcUukf5eELcApH8S6Aq/GKuVnHM+AkbhEJxQdWMI1QA46AVeQ7w1aiH EQyYd6gyylyqdRvCDaAiViGHRNRqsobrxM1LeVTFfaRuahWmJQh3unOfJGiU1v8dkF/79SyBfZ+ Zsn8MdYI0LU+cUK6fqnAOC95qT+2fEoxw5iQu+Qi2TkeXbu1IZTSIBJislnMULp8CrRAQ4CbEjV JRiWU= X-Google-Smtp-Source: ALg8bN4HXRUhZqO5yXcIvxvnBHz73PrptUUmQArQNBbZmdxqLpVDB7tN9uC7twKIcmASDXaLtIsoEg== X-Received: by 2002:a17:906:938e:: with SMTP id l14-v6mr11961703ejx.246.1548482159158; Fri, 25 Jan 2019 21:55:59 -0800 (PST) Received: from neo00-el73.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id c53sm13091363ede.26.2019.01.25.21.55.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jan 2019 21:55:58 -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 V4 7/7] RDMA/bnxt_en: Enable RDMA driver support for 57500 chip Date: Sat, 26 Jan 2019 00:55:20 -0500 Message-Id: <1548482120-10898-8-git-send-email-devesh.sharma@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1548482120-10898-1-git-send-email-devesh.sharma@broadcom.com> References: <1548482120-10898-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)