public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] ibsim: Output error on bad input to PerformanceSet
@ 2013-02-08  0:45 Albert Chu
       [not found] ` <1360284312.17736.155.camel-akkeaxHeDKRliZ7u+bvwcg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Albert Chu @ 2013-02-08  0:45 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Signed-off-by: Albert Chu <chu11-i2BcT+NCU+M@public.gmane.org>
---
 ibsim/sim_cmd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ibsim/sim_cmd.c b/ibsim/sim_cmd.c
index 83ad52d..4822a0b 100644
--- a/ibsim/sim_cmd.c
+++ b/ibsim/sim_cmd.c
@@ -1086,6 +1086,7 @@ static int do_perf_counter_set(FILE *f, char *line)
 		pc->vl_xmit_wait_counters.PortVLXmitWait[vl] =
 			check_limit(&value, GS_PERF_VL_XMIT_WAIT_COUNTERS_LIMIT);
 	} else {
+		fprintf(f, "# attribute %s not found\n", attr);
 		return -1;
 	}
 	fprintf(f, "%s.%s has been set to %"PRIu64"\n", attr, field, value);
-- 
1.7.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

end of thread, other threads:[~2013-06-05 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-08  0:45 [PATCH 2/2] ibsim: Output error on bad input to PerformanceSet Albert Chu
     [not found] ` <1360284312.17736.155.camel-akkeaxHeDKRliZ7u+bvwcg@public.gmane.org>
2013-06-05 19:39   ` Hal Rosenstock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox