[ofa-general] [PATCH] libibmad/fields.c: define SA SM_Key field details

Sasha Khapyorsky sashak at voltaire.com
Tue Feb 10 19:14:13 PST 2009


Define SA SM_Key field details (offset, length, name, dump_function).

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 libibmad/src/fields.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libibmad/src/fields.c b/libibmad/src/fields.c
index 08d0ccb..89581dc 100644
--- a/libibmad/src/fields.c
+++ b/libibmad/src/fields.c
@@ -95,7 +95,7 @@ static const ib_field_t ib_mad_f[] = {
 	{BE_OFFS(272, 16), "DrSmpSLID", mad_dump_hex},
 
 	/* word 10,11 (36-43 bytes) */
-	{0, 0},			/* IB_SA_MKEY_F - reserved as invalid */
+	{288, 64, "SaSMkey", mad_dump_hex},
 
 	/* word 12 (44-47 bytes) */
 	{BE_OFFS(46 * 8, 16), "SaAttrOffs", mad_dump_uint},
-- 
1.6.1.2.319.gbd9e




More information about the general mailing list