[ofa-general] ***SPAM*** [PATCH] libibmad/fields.c: Display CounterSelect2 in hex rather than decimal

Hal Rosenstock hnrose at comcast.net
Thu Mar 26 09:39:08 PDT 2009


Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
diff --git a/libibmad/src/fields.c b/libibmad/src/fields.c
index 19c8fc1..df43ceb 100644
--- a/libibmad/src/fields.c
+++ b/libibmad/src/fields.c
@@ -251,7 +251,7 @@ static const ib_field_t ib_mad_f[] = {
 	{BITSOFFS(112, 16), "XmtDiscards", mad_dump_uint},
 	{BITSOFFS(128, 8), "XmtConstraintErrors", mad_dump_uint},
 	{BITSOFFS(136, 8), "RcvConstraintErrors", mad_dump_uint},
-	{BITSOFFS(144, 8), "CounterSelect2", mad_dump_uint},
+	{BITSOFFS(144, 8), "CounterSelect2", mad_dump_hex},
 	{BITSOFFS(152, 4), "LinkIntegrityErrors", mad_dump_uint},
 	{BITSOFFS(156, 4), "ExcBufOverrunErrors", mad_dump_uint},
 	{BITSOFFS(176, 16), "VL15Dropped", mad_dump_uint},



More information about the general mailing list