OpenSM/osm_link_mgr.c: Use leaf HOQLife for IB router ports

Signed-off-by: Hal Rosenstock <[EMAIL PROTECTED]>
---
Index: opensm/osm_link_mgr.c
===================================================================
--- opensm/osm_link_mgr.c       (revision 9771)
+++ opensm/osm_link_mgr.c       (working copy)
@@ -264,7 +264,7 @@ __osm_link_mgr_set_physp_pi(
           IB_NODE_TYPE_ROUTER)
       {
         ib_port_info_set_hoq_lifetime(
-          p_pi, p_mgr->p_subn->opt.head_of_queue_lifetime);
+          p_pi, p_mgr->p_subn->opt.leaf_head_of_queue_lifetime);
       }
       else if (osm_node_get_type(osm_physp_get_node_ptr(p_physp)) ==
                IB_NODE_TYPE_SWITCH)




_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to