From patchwork Mon Dec 19 21:24:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 9480765 X-Patchwork-Delegate: ira.weiny@intel.com 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 16A29601C2 for ; Mon, 19 Dec 2016 21:25:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 086CB284F7 for ; Mon, 19 Dec 2016 21:25:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F169D284F8; Mon, 19 Dec 2016 21:25:07 +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 ECB61284F9 for ; Mon, 19 Dec 2016 21:25:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756833AbcLSVYl (ORCPT ); Mon, 19 Dec 2016 16:24:41 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34927 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756520AbcLSVYi (ORCPT ); Mon, 19 Dec 2016 16:24:38 -0500 Received: by mail-wm0-f65.google.com with SMTP id a20so20959859wme.2 for ; Mon, 19 Dec 2016 13:24:38 -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=kd2+qYe2BDB1/jvXLub23gcAbgma0nFfVlEA/ln/3Xo=; b=K7kBVYzSpNWJKy93e/maxXYK9bMJ4zdmoS34mYwLVHkaecj2AUEE+OULLtekOwKq/L SHewBKiaVX6Fvfth7fbmS9DS6msAgg76+LOiecnthqNFOPclqEVisH+Ju2CK/BUG5SqD vdodg6CDYdjPp3QzHZq9XiOfPF/0cJu8RY27rFbqiLuMneU/2na6VpY7mW8sjo4NnH2q nZEeO7BEOkJwXf0d0kOEj/3ZwghYcwQnmIljweiMvpktdj+PHJ1pGbZRfTXtGwHC6K6v 9/1bB818aQD0MgrAM1eDvAPD9iZSOOluVIL0id7XEAy890Tnv9iaHUpZtL3eOdw4ndzY Qj+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=kd2+qYe2BDB1/jvXLub23gcAbgma0nFfVlEA/ln/3Xo=; b=I1Z6MESnKJfM1wOVQ3NfCrDAK7WARS03++0tMnm2ry3bSTNeTgc85QKIcuLOqLHlm5 FcptdciSx5cE5LwK4lxBAjCv8+WZXYsPPAgeCNmn7sLuIWYdI4Np9Jsr2mmWKxJ3NLWj VBGsq4QMl6PTfrLxP6c09lkKPZjFubKR316twWbt6Tjk9DoiCI4gGA78wn4AD1uA+p5z DYc+LdY1PfN9F+Z4CMzRQurbxPSSgjyt3KuCm8KRQhVJWjEmhmg0cokfkQAGMT7MfjOu NVFYjyJPVFMWdCgKSntTfonoTVjj4O1PBZkYjnttbMnHBr+oCemloZWcU3OG1QobKI4I mTQA== X-Gm-Message-State: AIkVDXLQUpxmRgfYOepaYXCw3Hf5Yi3A0Fj5FwMURj4sX6ELT2+jVO8eT+fwWH6mC+3m7Q== X-Received: by 10.28.236.205 with SMTP id h74mr14917455wmi.104.1482182676798; Mon, 19 Dec 2016 13:24:36 -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 e188sm19005180wma.21.2016.12.19.13.24.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Dec 2016 13:24:36 -0800 (PST) To: "Weiny, Ira" Cc: "linux-rdma@vger.kernel.org" From: Hal Rosenstock Subject: [PATCH infiniband-diags] Add Connect-X5 device ID to device white lists Message-ID: Date: Mon, 19 Dec 2016 16:24:34 -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 Connect-X5 is device ID 0x1017 Signed-off-by: Hal Rosenstock --- libibnetdisc/src/ibnetdisc.c | 2 +- src/ibdiag_common.c | 2 +- src/vendstat.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 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 7ba5c91..57fc33e 100644 --- a/libibnetdisc/src/ibnetdisc.c +++ b/libibnetdisc/src/ibnetdisc.c @@ -199,7 +199,7 @@ static int is_mlnx_ext_port_info_supported(ibnd_port_t * port) if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid == 0xcf08 || devid == 0x1b02) return 1; - if (devid >= 0x1003 && devid <= 0x1016) + if (devid >= 0x1003 && devid <= 0x1017) return 1; return 0; } diff --git a/src/ibdiag_common.c b/src/ibdiag_common.c index f74eed4..981f82d 100644 --- a/src/ibdiag_common.c +++ b/src/ibdiag_common.c @@ -532,7 +532,7 @@ 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 || devid == 0x1b02) return 1; - if (devid >= 0x1003 && devid <= 0x1016) + if (devid >= 0x1003 && devid <= 0x1017) return 1; } return 0; diff --git a/src/vendstat.c b/src/vendstat.c index 284ef93..7f88bf3 100644 --- a/src/vendstat.c +++ b/src/vendstat.c @@ -148,7 +148,7 @@ static uint16_t ext_fw_info_device[][2] = { {0xcb20, 0xcb20}, /* Switch-IB */ {0xcf08, 0xcf08}, /* Switch-IB2 */ {0x01b3, 0x01b3}, /* IS-4 */ - {0x1003, 0x1016}, /* Connect-X */ + {0x1003, 0x1017}, /* Connect-X */ {0x1b02, 0x1b02}, /* Bull */ {0x0000, 0x0000}};