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
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
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(-)