linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] opensm/osm_dump.c: Dump SL2VL tables if routing engine might have modified them
@ 2011-10-18 13:17 Hal Rosenstock
       [not found] ` <4E9D7C72.3070904-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hal Rosenstock @ 2011-10-18 13:17 UTC (permalink / raw)
  To: Alex Netes
  Cc: Jim Schutt,
	linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)


Signed-off-by: Jim Schutt <jaschut-4OHPYypu0djtX7QSmKvirg@public.gmane.org>
Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 opensm/osm_dump.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/opensm/osm_dump.c b/opensm/osm_dump.c
index 0108365..cc0f20b 100644
--- a/opensm/osm_dump.c
+++ b/opensm/osm_dump.c
@@ -718,7 +718,9 @@ void osm_dump_all(osm_opensm_t * osm)
 				      &osm->subn.sw_guid_tbl,
 				      dump_mcast_routes, osm);
 		/* SL2VL tables */
-		if (osm->subn.opt.qos)
+		if (osm->subn.opt.qos ||
+		    (osm->routing_engine_used &&
+		     osm->routing_engine_used->update_sl2vl))
 			osm_dump_qmap_to_file(osm, "opensm-sl2vl.dump",
 					      &osm->subn.port_guid_tbl,
 					      dump_sl2vl_tbl, osm);
-- 
1.7.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] opensm/osm_dump.c: Dump SL2VL tables if routing engine might have modified them
       [not found] ` <4E9D7C72.3070904-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
@ 2011-11-01 16:27   ` Alex Netes
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Netes @ 2011-11-01 16:27 UTC (permalink / raw)
  To: Hal Rosenstock
  Cc: Jim Schutt,
	linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)

Hi Hal,

On 09:17 Tue 18 Oct     , Hal Rosenstock wrote:
> 
> Signed-off-by: Jim Schutt <jaschut-4OHPYypu0djtX7QSmKvirg@public.gmane.org>
> Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> ---

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-01 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-18 13:17 [PATCH 2/2] opensm/osm_dump.c: Dump SL2VL tables if routing engine might have modified them Hal Rosenstock
     [not found] ` <4E9D7C72.3070904-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-11-01 16:27   ` Alex Netes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).