[openib-general] Support for UC connections using the CM API?
Roland Dreier
rolandd at cisco.com
Wed Oct 19 14:31:08 PDT 2005
Does the patch below help? It looks like there is a missing break
after the UC case in the kernel CM, so the code falls through and
overwrites the field with the value for RC.
- R.
diff --git a/drivers/infiniband/core/cm_msgs.h b/drivers/infiniband/core/cm_msgs.h
--- a/drivers/infiniband/core/cm_msgs.h
+++ b/drivers/infiniband/core/cm_msgs.h
@@ -186,6 +186,7 @@ static inline void cm_req_set_qp_type(st
req_msg->offset40 = cpu_to_be32((be32_to_cpu(
req_msg->offset40) &
0xFFFFFFF9) | 0x2);
+ break;
default:
req_msg->offset40 = cpu_to_be32(be32_to_cpu(
req_msg->offset40) &
More information about the general
mailing list