From patchwork Tue Dec 6 19:22:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 9463161 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 CD0446022E for ; Tue, 6 Dec 2016 19:23:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BAE8C284C3 for ; Tue, 6 Dec 2016 19:23:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AFB21284CD; Tue, 6 Dec 2016 19:23:06 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 89CC8284C3 for ; Tue, 6 Dec 2016 19:23:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752213AbcLFTXD (ORCPT ); Tue, 6 Dec 2016 14:23:03 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33906 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752190AbcLFTXC (ORCPT ); Tue, 6 Dec 2016 14:23:02 -0500 Received: by mail-wm0-f65.google.com with SMTP id g23so23470337wme.1 for ; Tue, 06 Dec 2016 11:23:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dev-mellanox-co-il.20150623.gappssmtp.com; s=20150623; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=SeX+hgoB2WRl+ZiYQOMTd7LDNGbeA0gaQy+A2GZLP6Q=; b=L5uEwEhaMGMjKEof8JOBQHvwf0rZh76gasykbUN3SfcQ+jc10n1gBqPXQ9U33iR4cb /K+bIxgokg0M9i/HkKaTyLjg7LdfpRkooGVQBIbSxWRq7+yUzy5YZ+cSEvVEt0EZ7J4O KSPhKgR7dsywi3VzxmjJW0ayKFyrbFzhT7LKn0/Arl5YVnKMi5pTufzKIeiqJppVx3K9 I00ArsHl5G25M4YAzuSPlgkvAymBUPrQHyS+ZDf5Che0ruHpw94Qyg+M6bhHqGI8ANbY fSb5IUBJ/Rn1nV5TYA4Wm4QnJE+BJXYRI5O7nvBTF74lhLJwNN3/YGT1sXC/mVDwkiUr p+rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=SeX+hgoB2WRl+ZiYQOMTd7LDNGbeA0gaQy+A2GZLP6Q=; b=jk4zGeYbodFfTluoFXMTs/sYYYxFBAbfH2qKlI8QVSlXMS81I7UfshbF7RLfAQEQqL xq6XPHdLcgGR5BcqL0ziPTNJFQz8VmWGhdWmr+39EOYWu5F7ETa2DAN0p6FY/1bNLo8w o+iQzeM9SOmq2k7JTy/SwBse0kwXQ9JzhlDEZSoR+TyNqSD5KeRHLxzz9Lok5qIHJGae Gffgv7tnwESk62rkOim8FnXB09lIwjR2eloBgJxzIHI5ZIxn3F1NuFch737o9azTxcsm 7QxMvbJ7GcP9DT16PKAgy8ihgjjJFCsywuxTM27HQuPMSN1bxXfUZQmHjzgqSJFzFl5c DrQQ== X-Gm-Message-State: AKaTC01uNBB91PWEjC3l7/yPR2utleuzPibLuMkl2uGKDIZzUaQL6NV4kMsAEFCWUhWEpw== X-Received: by 10.28.132.201 with SMTP id g192mr142475wmd.134.1481052175460; Tue, 06 Dec 2016 11:22:55 -0800 (PST) Received: from [192.168.1.183] (c-50-177-105-67.hsd1.ma.comcast.net. [50.177.105.67]) by smtp.googlemail.com with ESMTPSA id 14sm5589398wmk.1.2016.12.06.11.22.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 11:22:54 -0800 (PST) To: "Weiny, Ira" Cc: "linux-rdma@vger.kernel.org" From: Hal Rosenstock Subject: [PATCH infiniband-diags] Add Bull device ID support to device white lists Message-ID: Date: Tue, 6 Dec 2016 14:22:52 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 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 Signed-off-by: Hal Rosenstock --- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/libibnetdisc/src/ibnetdisc.c b/libibnetdisc/src/ibnetdisc.c index 6ef7805..223e097 100644 --- a/libibnetdisc/src/ibnetdisc.c +++ b/libibnetdisc/src/ibnetdisc.c @@ -197,7 +197,7 @@ static int is_mlnx_ext_port_info_supported(ibnd_port_t * port) { uint16_t devid = (uint16_t) mad_get_field(port->node->info, 0, IB_NODE_DEVID_F); - if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid == 0xcf08) + if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid == 0xcf08 || devid == 0x1b02) return 1; if (devid >= 0x1003 && devid <= 0x1016) return 1; diff --git a/src/ibdiag_common.c b/src/ibdiag_common.c index 2a1e971..6809a1e 100644 --- a/src/ibdiag_common.c +++ b/src/ibdiag_common.c @@ -530,7 +530,7 @@ int is_port_info_extended_supported(ib_portid_t * dest, int port, int is_mlnx_ext_port_info_supported(uint32_t devid) { if (ibd_ibnetdisc_flags & IBND_CONFIG_MLX_EPI) { - if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid == 0xcf08) + if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid == 0xcf08 || devid == 0x1b02) return 1; if (devid >= 0x1003 && devid <= 0x1016) return 1; diff --git a/src/vendstat.c b/src/vendstat.c index fb42a78..284ef93 100644 --- a/src/vendstat.c +++ b/src/vendstat.c @@ -149,6 +149,7 @@ static uint16_t ext_fw_info_device[][2] = { {0xcf08, 0xcf08}, /* Switch-IB2 */ {0x01b3, 0x01b3}, /* IS-4 */ {0x1003, 0x1016}, /* Connect-X */ + {0x1b02, 0x1b02}, /* Bull */ {0x0000, 0x0000}}; static int is_ext_fw_info_supported(uint16_t device_id) {