From patchwork Mon Jan 14 11:24:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 10762239 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 A3DB81580 for ; Mon, 14 Jan 2019 11:24:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 94AB9286A9 for ; Mon, 14 Jan 2019 11:24:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 88C8928821; Mon, 14 Jan 2019 11:24:40 +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 35829286A9 for ; Mon, 14 Jan 2019 11:24:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726869AbfANLYk (ORCPT ); Mon, 14 Jan 2019 06:24:40 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:45258 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726864AbfANLYj (ORCPT ); Mon, 14 Jan 2019 06:24:39 -0500 Received: by mail-pg1-f193.google.com with SMTP id y4so9322228pgc.12 for ; Mon, 14 Jan 2019 03:24:39 -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=gIV88sGE4pnXAqFGxRMmH/sN0frlYWF4LH4LUuUpsm5p2vxF9OPjUS2CatpyMI32sB CI49KJ82glFaDCqLnsJEhPZift6az2RW4FrAFx7uHdxkstb4emkcNl9j+BADKQ/u3ot/ 6lzvpcOAXQSZVSxgjpsQOII+B/KgGIB5Cb63Y= 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=KJvDtqMWCRyjIhbaAxMTmSpy8kwh0W+Dlc8gRthSvbnhXhErufTpIDqRZOzpbnERve ROBXzW40YoyVz6F105J8Q9jzkDCo5zHJCtBcMD6EyoDLobdP0VSgJalk5BuIyf90ek+5 7h50/FmXSNPfo9QFc5hxndJ7uczimGt5TiuiHNLSFhzJrpm+EJqtqK+tuqmGrTwcNvfa oCgcRBGXRQFdioq9P31w54qBk8HA7tMaxjZsYe7ChM0QEDX1r2jZLxPTurLJxYsp24/C jgf4D5K1u05nfy7HisYaHOrdjZ/k4qqopqet45BdKj7GzmzW9DJT+q0jhM0jZGZyouyi 9EpQ== X-Gm-Message-State: AJcUukdYzKle68bXslqcCOMYP+W6kwuLG1MQg+xvOkvDEXv6HxUHa+nV /E77O1OJh+LC+jKtk5orxhoKhG3xgx+Xcu2g8b18CMYlY2vgTGRaJrbjIe4CSSzLld4q2H8Jfkr fdaMwoTOMgmcn4WKvHXbTYlsg+kSSSo5al2gXqJOdABa6emuV549HdRKTek1FhdtLUsU4jIdSXQ 1K2N0= X-Google-Smtp-Source: ALg8bN6xFqXRxOeo3+oSwMIhgHepTeMr2sVdT90+/v8OBXPMPNasNz5TH5vt5QWxozjcMJTBIIhahw== X-Received: by 2002:a62:6799:: with SMTP id t25mr24831547pfj.139.1547465078504; Mon, 14 Jan 2019 03:24:38 -0800 (PST) Received: from neo00-el73.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id z10sm268894pfg.120.2019.01.14.03.24.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Jan 2019 03:24:37 -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 V2 7/7] RDMA/bnxt_en: Enable RDMA driver support for 57500 chip Date: Mon, 14 Jan 2019 06:24:12 -0500 Message-Id: <1547465052-7622-8-git-send-email-devesh.sharma@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1547465052-7622-1-git-send-email-devesh.sharma@broadcom.com> References: <1547465052-7622-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)