[ofa-general] [PATCH 1/3] Fix reversal of DRSLID and DRDLID in MAD_FIELDS enum

Ira Weiny weiny2 at llnl.gov
Thu Apr 30 14:29:50 PDT 2009


From: Ira Weiny <weiny2 at llnl.gov>
Date: Thu, 30 Apr 2009 11:19:26 -0700
Subject: [PATCH] Fix reversal of DRSLID and DRDLID in MAD_FIELDS enum.


Signed-off-by: Ira Weiny <weiny2 at llnl.gov>
---
 libibmad/include/infiniband/mad.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libibmad/include/infiniband/mad.h b/libibmad/include/infiniband/mad.h
index b11f778..4492414 100644
--- a/libibmad/include/infiniband/mad.h
+++ b/libibmad/include/infiniband/mad.h
@@ -247,8 +247,8 @@ enum MAD_FIELDS {
 	IB_MAD_MKEY_F,
 
 	/* word 9 (32-37 bytes) */
-	IB_DRSMP_DRSLID_F,
 	IB_DRSMP_DRDLID_F,
+	IB_DRSMP_DRSLID_F,
 
 	/* word 10,11 (36-43 bytes) */
 	IB_SA_MKEY_F,
-- 
1.5.4.5




More information about the general mailing list