[PATCH] ibsim/sim_cmd: Add command to set perf. counters.

2012-08-22 Thread Huang, Perry
This patch requires: [PATCH 1/2] ibsim/sim.h: Add support for optional performance attributes. [PATCH 2/2] ibsim/sim_mad.c: Add read/reset functions for optional performance attributes. Use: PerformanceSet "nodeid"[port] [attribute].[field]=[value] eg. sim> PerformanceSet "S-0002

[PATCH 2/2] ibsim/sim_mad.c: Add read/reset functions for optional performance attributes.

2012-08-10 Thread Huang, Perry
Add functions to read/reset optional performance counters detailed in IB Arch Release 1.2.1 16.1.4.[1-8]. Signed-off-by: Perry Huang --- ibsim/sim_mad.c | 502 ++- 1 files changed, 500 insertions(+), 2 deletions(-) diff --git a/ibsim/sim_mad

[PATCH 1/2] ibsim/sim.h: Add support for optional performance attributes.

2012-08-10 Thread Huang, Perry
Add support for optional performance counters detailed in IB Arch Release 1.2.1 16.1.4.[1-8]. Does not include congestion attributes. Signed-off-by: Perry Huang --- ibsim/sim.h | 89 +++ 1 files changed, 89 insertions(+), 0 deletions(-)