From patchwork Thu Feb 21 21:44:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ira Weiny X-Patchwork-Id: 2173341 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 49C2F3FCA4 for ; Thu, 21 Feb 2013 21:44:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755327Ab3BUVoO (ORCPT ); Thu, 21 Feb 2013 16:44:14 -0500 Received: from prdiron-2.llnl.gov ([128.15.143.172]:14084 "EHLO prdiron-2.llnl.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754649Ab3BUVoN (ORCPT ); Thu, 21 Feb 2013 16:44:13 -0500 X-Attachments: Received: from eris.llnl.gov (HELO trebuchet.chaos) ([128.115.7.7]) by prdiron-2.llnl.gov with SMTP; 21 Feb 2013 13:44:13 -0800 Date: Thu, 21 Feb 2013 13:44:13 -0800 From: Ira Weiny To: Hal Rosenstock Cc: "linux-rdma@vger.kernel.org" Subject: [PATCH] opensm/libibvendor: osm_vendor_get_all_port_attr include sm_sl value in port attribute struct Message-Id: <20130221134413.03e68d1eff76bd642e6b7b33@llnl.gov> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.18.9; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Signed-off-by: Ira Weiny --- libvendor/osm_vendor_ibumad.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libvendor/osm_vendor_ibumad.c b/libvendor/osm_vendor_ibumad.c index c33ad2e..bcaf238 100644 --- a/libvendor/osm_vendor_ibumad.c +++ b/libvendor/osm_vendor_ibumad.c @@ -646,6 +646,7 @@ osm_vendor_get_all_port_attr(IN osm_vendor_t * const p_vend, attr->lid = ca.ports[j]->base_lid; attr->port_num = ca.ports[j]->portnum; attr->sm_lid = ca.ports[j]->sm_lid; + attr->sm_sl = ca.ports[j]->sm_sl; attr->link_state = ca.ports[j]->state; if (attr->num_pkeys && attr->p_pkey_table) { if (attr->num_pkeys > ca.ports[j]->pkeys_size)