From patchwork Mon Dec 31 06:23:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 10745321 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 8D40013A4 for ; Mon, 31 Dec 2018 06:23:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B51C289B4 for ; Mon, 31 Dec 2018 06:23:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6FB0928A0D; Mon, 31 Dec 2018 06:23:58 +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 16503289B4 for ; Mon, 31 Dec 2018 06:23:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727000AbeLaGX5 (ORCPT ); Mon, 31 Dec 2018 01:23:57 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:45763 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726401AbeLaGX5 (ORCPT ); Mon, 31 Dec 2018 01:23:57 -0500 Received: by mail-ed1-f65.google.com with SMTP id d39so21886224edb.12 for ; Sun, 30 Dec 2018 22:23: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=q+MyzDgezTlsf5Poz59DtLNSCEB0RYUy2LElsl4xe2I=; b=KueMNAzml3A0wUULiaX2bY7qgFWlBKpWnw5iOvz3henUE1ipEhSPpkhpWEnGlQc8ZZ rl/FEgt4GgRLeD4wHYgX8ZBFaO0YAbE4EJvUuzA6yAecCZUGoHmKu/yy6/tyld6fvZTq nfKvDyHtBalIgobj6C4qUicsLTp+eLDAcXQCs= 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=q+MyzDgezTlsf5Poz59DtLNSCEB0RYUy2LElsl4xe2I=; b=D2DIADsa4EgskxFp4y9lV99E7IVO965+AK6mjsGgxhK+qMad5F4oHSPx38ZNkUoddO Mpz7QKUsjB8WwC37n/AqJ9VguFwt6tyRnC4B12hDvAi3nmPHEKFTc314v8s3gXGuI/Ct dWKV6UT7NTkBtF3Ydb+peL9MQfvS9pdKhN6S1EhH9KFK+8BDh/ko92NpWQPQAXvBoq8X mK0AtvALYwm7aGRfOZsHtzehYzo6X1v5kXNPBCqVHmdTpxJzsz7f0/w/dRdeSuWZmv91 QXGBJbUMR1ftY/essC1Ft85FW93V83ZasXJZmSf3SEklUxY/LoiW9HeadiAqE1yANHi3 SQIg== X-Gm-Message-State: AA+aEWYYU4J4T/6d13kFYIGsW5vgoe8AUY/VzSkC/IvdQ931uJI9tyxb xe+LbLO2l/EYSjEmW56mG2BPljieR6A= X-Google-Smtp-Source: AFSGD/X4EiDCgvqE8p2owsYWFD6fAZ9AnHJOrc9zxoC3ufpWsSEnzR84d2uoUG86iH+nm7RPWkGH6Q== X-Received: by 2002:a17:906:1c86:: with SMTP id g6-v6mr25119828ejh.195.1546237435685; Sun, 30 Dec 2018 22:23:55 -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.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Dec 2018 22:23: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 7/7] RDMA/bnxt_en: Enable RDMA driver support for 57500 chip Date: Mon, 31 Dec 2018 01:23:19 -0500 Message-Id: <1546237399-16234-8-git-send-email-devesh.sharma@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1546237399-16234-1-git-send-email-devesh.sharma@broadcom.com> References: <1546237399-16234-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: Devesh Sharma Signed-off-by: Michael Chan --- 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 0a3097b..22d92fa 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->num_stat_ctxs == max_stat_ctxs)