diff mbox

[2/2] ibsim: Output error on bad input to PerformanceSet

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

Commit Message

Al Chu Feb. 8, 2013, 12:45 a.m. UTC
Signed-off-by: Albert Chu <chu11@llnl.gov>
---
 ibsim/sim_cmd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Hal Rosenstock June 5, 2013, 7:39 p.m. UTC | #1
On 2/7/2013 7:45 PM, Albert Chu wrote:
> Signed-off-by: Albert Chu <chu11@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/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);