From patchwork Fri Sep 8 18:01:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 9944805 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1E77F60224 for ; Fri, 8 Sep 2017 18:01:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B31E26E47 for ; Fri, 8 Sep 2017 18:01:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F23E228828; Fri, 8 Sep 2017 18:01:54 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 8282926E47 for ; Fri, 8 Sep 2017 18:01:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756751AbdIHSBw (ORCPT ); Fri, 8 Sep 2017 14:01:52 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:45227 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756294AbdIHSBs (ORCPT ); Fri, 8 Sep 2017 14:01:48 -0400 Received: by mail-wm0-f47.google.com with SMTP id f199so9161641wme.0 for ; Fri, 08 Sep 2017 11:01:48 -0700 (PDT) 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=lEK/qHcL4NmJR0BjlEVnk8uo6ISE2PGn7Wib3ohBnfs=; b=gj4vOJoSuPL4enDQh2GxptXFbKJ10YmW+CzXkxrb0opwwX5xgs4yLdVlHHOg5up7bM CVyhFqwJjVN0cnCL0691PUZKUwMWtVBNrkOTO+8CoJpLBMek4SQDBmWozAGixBKmjt4R MLQ7BqP17Awy4RnrfGM4VzbJ/EtqLRshjpSPk= 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=lEK/qHcL4NmJR0BjlEVnk8uo6ISE2PGn7Wib3ohBnfs=; b=KD+ZfjOLr9USNGtwVBNSk2OZ8ET0VN90d9L0RFm7aNRMO1buJCirViADdXUsEIEI0G F0yxGs44XLoCiBxIq1y1y5Qlv/mu5zFfj15nSfoU84SEmtIekNHcWGgkTNkIXfShLDW5 zjcUXN7KEnW4L5xDsppDH5wb4HgTQhM4cmAY9Ry4gCsAknCsYsmUg6DDy9kJqHiZpExr 63FBTPtcUaUeH6Vrp5JCkZYQJV4Q8cvTdnkFponmriHZF3rS7Uy1TRVwdYeD2iFUEOcx Y8Z4NQjfMlOaWzbZ2237Y2M2KNc4HsRFuEoffbn/nm4n+y5hfl67o/rUEEOeyQGCE1CO Rp2w== X-Gm-Message-State: AHPjjUj1Kl2IT/Eh4tNA8KvX60nER8gWiVMKg/5aIIVyG0jNUjn68cmv 0dnUfdE1Uwi5UhKabc4etWKUQ1eh X-Google-Smtp-Source: AOwi7QAtAf61WyZ9PKVhvlws3b9cBoeWt3hdecnIOWgIuuWsFo2uymN4z4mz9aQCxf6uQAfZgdhVDQ== X-Received: by 10.28.92.73 with SMTP id q70mr2479037wmb.150.1504893707162; Fri, 08 Sep 2017 11:01:47 -0700 (PDT) Received: from neo00-el73.iig.avagotech.net ([192.19.239.250]) by smtp.gmail.com with ESMTPSA id m19sm1828964wmd.16.2017.09.08.11.01.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Sep 2017 11:01:46 -0700 (PDT) From: Devesh Sharma To: linux-rdma@vger.kernel.org Cc: Devesh Sharma Subject: [PATCH rdma-core] bnxt_re:update and sort pci device id table Date: Fri, 8 Sep 2017 14:01:27 -0400 Message-Id: <1504893687-6101-2-git-send-email-devesh.sharma@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1504893687-6101-1-git-send-email-devesh.sharma@broadcom.com> References: <1504893687-6101-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 This patch updates and sorts the pci-device id table to allow new roce device support. Signed-off-by: Devesh Sharma --- providers/bnxt_re/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/providers/bnxt_re/main.c b/providers/bnxt_re/main.c index 29ac7cd..3c21bec 100644 --- a/providers/bnxt_re/main.c +++ b/providers/bnxt_re/main.c @@ -60,6 +60,7 @@ static const struct { unsigned int vendor; unsigned int device; } cna_table[] = { + CNA(BROADCOM, 0x1614), /* BCM57454 */ CNA(BROADCOM, 0x16C0), /* BCM57417 NPAR */ CNA(BROADCOM, 0x16CE), /* BMC57311 */ CNA(BROADCOM, 0x16CF), /* BMC57312 */ @@ -74,7 +75,10 @@ static const struct { CNA(BROADCOM, 0x16C1), /* BMC57414 VF */ CNA(BROADCOM, 0x16EF), /* BCM57416 NPAR */ CNA(BROADCOM, 0x16ED), /* BCM57414 NPAR */ - CNA(BROADCOM, 0x16EB) /* BCM57412 NPAR */ + CNA(BROADCOM, 0x16EB), /* BCM57412 NPAR */ + CNA(BROADCOM, 0x16F0), /* BCM58730 */ + CNA(BROADCOM, 0x16F1), /* BCM57452 */ + CNA(BROADCOM, 0xD802) /* BCM58802 */ }; static struct ibv_context_ops bnxt_re_cntx_ops = {