diff mbox

opensm/libibvendor: osm_vendor_get_all_port_attr include sm_sl value in port attribute struct

Message ID 20130221134413.03e68d1eff76bd642e6b7b33@llnl.gov (mailing list archive)
State Accepted
Delegated to: Hal Rosenstock
Headers show

Commit Message

Ira Weiny Feb. 21, 2013, 9:44 p.m. UTC
Signed-off-by: Ira Weiny <weiny2@llnl.gov>
---
 libvendor/osm_vendor_ibumad.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Hal Rosenstock Feb. 22, 2013, 11:34 a.m. UTC | #1
On 2/21/2013 4:44 PM, Ira Weiny wrote:
> 
> 
> Signed-off-by: Ira Weiny <weiny2@llnl.gov>

Thanks. Applied.

-- Hal
--
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 mbox

Patch

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)