[openib-general] [PATCH] ib_mad.h: Remove network endian conversion of QP1 QKey

Hal Rosenstock halr at voltaire.com
Wed Oct 6 09:42:20 PDT 2004


ib_mad.h: Remove network endian conversion of QP1 QKey

Index: ib_mad.h
===================================================================
--- ib_mad.h    (revision 935)
+++ ib_mad.h    (working copy)
@@ -58,7 +58,7 @@
  
 #define IB_QP0         0
 #define IB_QP1         cpu_to_be32(1)
-#define IB_QP1_QKEY    cpu_to_be32(0x80010000)
+#define IB_QP1_QKEY    0x80010000
  
 struct ib_grh {
        u32             version_tclass_flow;





More information about the general mailing list