[ofa-general] [PATCH] IB/ipoib: Fix typo in IPoIB CM service ID
Eli Cohen
eli at mellanox.co.il
Tue Sep 23 01:39:56 PDT 2008
Set the correct service ID, as defined by RFC 4755:
+--------+--------+--------+--------+-------+-------+--------+-------+
|00000001| Type | Reserved | QPN |
+--------+--------+--------+--------+-------+-------+--------+-------+
The "Type" field MUST be set to 0.
The "Reserved" field MUST be set to zeroes.
The QPN MUST be the UD QP exchanged during address resolution.
This fixes bug #1121.
Found by: Alex Estrin <alex.estrin at qlogic.com>
Signed-off-by: Eli Cohen <eli at mellanox.co.il>
---
drivers/infiniband/ulp/ipoib/ipoib_cm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_cm.c b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
index 341ffed..a93ca17 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
@@ -55,7 +55,7 @@ MODULE_PARM_DESC(cm_data_debug_level,
"Enable data path debug tracing for connected mode if > 0");
#endif
-#define IPOIB_CM_IETF_ID 0x1000000000000000ULL
+#define IPOIB_CM_IETF_ID 0x100000000000000ULL
#define IPOIB_CM_RX_UPDATE_TIME (256 * HZ)
#define IPOIB_CM_RX_TIMEOUT (2 * 256 * HZ)
--
1.6.0.2
More information about the general
mailing list