Message ID | 2807E5FD2F6FDA4886F6618EAC48510E67D31C52@CRSMSX101.amr.corp.intel.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Ira Weiny |
Headers | show |
diff --git a/src/ibqueryerrors.c b/src/ibqueryerrors.c index 304dc154c4b4..4ea762a1f344 100644 --- a/src/ibqueryerrors.c +++ b/src/ibqueryerrors.c @@ -105,15 +105,15 @@ static unsigned valid_gid(ib_gid_t * gid) return memcmp(&zero_gid, gid, sizeof(*gid)); } -static void set_thres(char *name, uint32_t val) +static void set_thres(char *name, uint64_t val) { int f; int n; char tmp[256]; - for (f = IB_PC_FIRST_F; f <= IB_PC_LAST_F; f++) { + for (f = IB_PC_EXT_ERR_SYM_F; f <= IB_PC_EXT_XMT_WAIT_F; f++) { How does this change allow for users to set the old Port Counters thresholds? Ira