Skip to contentSkip to conversation

Remove unused lid matrix calculation in Torus_2Qos routing

PATCH In review Hal Rosenstock 2 participants 2 messages Nov 12, 2013 – Nov 13, 2013 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove unused lid matrix calculation in Torus_2Qos routing

From: Vladimir Koushnir <vladimirk-VPRAkNaXOzVWk0Htik3J/[email protected]>

---

include/opensm/osm_ucast_mgr.h +2 -0
index c534b7e..b9c1ca1 100644
@@ -296,5 +296,7 @@ int osm_ucast_mgr_process(IN osm_ucast_mgr_t * p_mgr);
 * SEE ALSO
 *	Unicast Manager, Node Info Response Controller
 *********/
+
+int ucast_dummy_build_lid_matrices(void *context);
 END_C_DECLS
 #endif				/* _OSM_UCAST_MGR_H_ */
opensm/osm_torus.c +1 -0
index 8139f1a..71753cf 100644
@@ -9550,6 +9550,7 @@ int osm_ucast_torus2QoS_setup(struct osm_routing_engine *r,
 
 	r->context = ctx;
 	r->ucast_build_fwd_tables = torus_build_lfts;
+	r->build_lid_matrices = ucast_dummy_build_lid_matrices;
 	r->update_sl2vl = torus_update_osm_sl2vl;
 	r->update_vlarb = torus_update_osm_vlarb;
 	r->path_sl = torus_path_sl;
opensm/osm_ucast_mgr.c +5 -0
index 6384362..9ef7947 100644
@@ -1182,3 +1182,8 @@ int osm_ucast_dor_setup(struct osm_routing_engine *r, osm_opensm_t * osm)
 	r->ucast_build_fwd_tables = ucast_dor_build_lfts;
 	return 0;
 }
+
+int ucast_dummy_build_lid_matrices(void *context)
+{
+	return 0;
+}

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

Acked-by
#2 lore raw

On 11/12/2013 04:18 AM, Hal Rosenstock wrote:

Quoted 44 lines

From: Vladimir Koushnir <vladimirk-VPRAkNaXOzVWk0Htik3J/[email protected]>

---

include/opensm/osm_ucast_mgr.h +2 -0
index c534b7e..b9c1ca1 100644
@@ -296,5 +296,7 @@ int osm_ucast_mgr_process(IN osm_ucast_mgr_t * p_mgr);
 * SEE ALSO
 *	Unicast Manager, Node Info Response Controller
 *********/
+
+int ucast_dummy_build_lid_matrices(void *context);
 END_C_DECLS
 #endif				/* _OSM_UCAST_MGR_H_ */
opensm/osm_torus.c +1 -0
index 8139f1a..71753cf 100644
@@ -9550,6 +9550,7 @@ int osm_ucast_torus2QoS_setup(struct osm_routing_engine *r,
 
 	r->context = ctx;
 	r->ucast_build_fwd_tables = torus_build_lfts;
+	r->build_lid_matrices = ucast_dummy_build_lid_matrices;
 	r->update_sl2vl = torus_update_osm_sl2vl;
 	r->update_vlarb = torus_update_osm_vlarb;
 	r->path_sl = torus_path_sl;
opensm/osm_ucast_mgr.c +5 -1
index 6384362..9ef7947 100644
@@ -1182,3 +1182,8 @@ int osm_ucast_dor_setup(struct osm_routing_engine *r, osm_opensm_t * osm)
 	r->ucast_build_fwd_tables = ucast_dor_build_lfts;
 	return 0;
 }
+
+int ucast_dummy_build_lid_matrices(void *context)
+{
+	return 0;
+}
--
Quoted 5 lines

To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html