From patchwork Mon Jan 12 19:07:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 5615081 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6A2AEC058D for ; Mon, 12 Jan 2015 19:08:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A1E8B203A0 for ; Mon, 12 Jan 2015 19:08:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CF562203AA for ; Mon, 12 Jan 2015 19:08:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756663AbbALTIZ (ORCPT ); Mon, 12 Jan 2015 14:08:25 -0500 Received: from mail-wi0-f175.google.com ([209.85.212.175]:52052 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755469AbbALTIW (ORCPT ); Mon, 12 Jan 2015 14:08:22 -0500 Received: by mail-wi0-f175.google.com with SMTP id l15so16601121wiw.2 for ; Mon, 12 Jan 2015 11:08:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=wbG/oEtfUi2gLVqB+xUCcA2SfpnMZhzjXGDQKzHr68c=; b=CdWjA+OuaD9Xhlct+Z6rVWOGplGQw+lvtGXZQpsfJN/qvbfn6ssy2BhCD8p1B/HQxy dtvQHw6firNvQkT4NUHHVDx1O8gaWxQ9MX/UQxDv8KrrIWBC+8/J0t22Sxrbw2/lZVqC zYiTdDmO2nd/VhjB5kdRCeX+Kse5hzu2HEzTYceIAvgd6fyzPuGJHFiwyJhZs9sL/Fy4 vs/ZWxNc+6aeCoy+kDWdP0ZyAi5Arm5F5wZ3qexvQHVjp4EJazglpWjba9PbztuHq7SD F1jKUNAJH+1mTjmd5eq5jo4BSvPI1S+unkCQfQwoyVAovUlCMk8ibzcJuEqpULnkiS7r iAxA== X-Gm-Message-State: ALoCoQkYVhUvA1ilCCYM5C50kN1TR1Y5YHwE0xInmGbJRpZPPvn8KX5BKhyFbafbd6pKRdE5xziD X-Received: by 10.194.89.39 with SMTP id bl7mr60776488wjb.76.1421089681274; Mon, 12 Jan 2015 11:08:01 -0800 (PST) Received: from [192.168.1.102] (c-98-229-118-119.hsd1.ma.comcast.net. [98.229.118.119]) by mx.google.com with ESMTPSA id w3sm22752541wjf.3.2015.01.12.11.08.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Jan 2015 11:08:00 -0800 (PST) Message-ID: <54B41B8D.3010703@dev.mellanox.co.il> Date: Mon, 12 Jan 2015 14:07:57 -0500 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH opensm] osm_subnet.c: Add more supported device IDs Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for ConnectX-4. Signed-off-by: Hal Rosenstock --- opensm/osm_subnet.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/opensm/osm_subnet.c b/opensm/osm_subnet.c index ba760ff..3463eca 100644 --- a/opensm/osm_subnet.c +++ b/opensm/osm_subnet.c @@ -1476,7 +1476,7 @@ int is_mlnx_ext_port_info_supported(ib_net16_t devid) devid_ho = cl_ntoh16(devid); if ((devid_ho >= 0xc738 && devid_ho <= 0xc73b) || devid_ho == 0xcb20) return 1; - if (devid_ho >= 0x1003 && devid_ho <= 0x1013) + if (devid_ho >= 0x1003 && devid_ho <= 0x1016) return 1; return 0; }