[ofa-general] [PATCH] fix offset used for parsing of XmtDataSL & RcvDataSL
Or Gerlitz
ogerlitz at voltaire.com
Thu Mar 5 06:45:04 PST 2009
fix the offset used for parsing the fifth SL of the XmtDataSL & RcvDataSL counters
Signed-off-by: Or Gerlitz <ogerlitz at voltaire.com>
Index: management/libibmad/src/fields.c
===================================================================
--- management.orig/libibmad/src/fields.c
+++ management/libibmad/src/fields.c
@@ -407,7 +407,7 @@ static const ib_field_t ib_mad_f[] = {
{96, 32, "XmtDataSL2", mad_dump_uint},
{128, 32, "XmtDataSL3", mad_dump_uint},
{160, 32, "XmtDataSL4", mad_dump_uint},
- {196, 32, "XmtDataSL5", mad_dump_uint},
+ {192, 32, "XmtDataSL5", mad_dump_uint},
{224, 32, "XmtDataSL6", mad_dump_uint},
{256, 32, "XmtDataSL7", mad_dump_uint},
{288, 32, "XmtDataSL8", mad_dump_uint},
@@ -425,7 +425,7 @@ static const ib_field_t ib_mad_f[] = {
{96, 32, "RcvDataSL2", mad_dump_uint},
{128, 32, "RcvDataSL3", mad_dump_uint},
{160, 32, "RcvDataSL4", mad_dump_uint},
- {196, 32, "RcvDataSL5", mad_dump_uint},
+ {192, 32, "RcvDataSL5", mad_dump_uint},
{224, 32, "RcvDataSL6", mad_dump_uint},
{256, 32, "RcvDataSL7", mad_dump_uint},
{288, 32, "RcvDataSL8", mad_dump_uint},
More information about the general
mailing list