We don't support creating UC connections at the moment, so we should fall back to UD if remote side only supports UC, but not RC.
Signed-off-by: Michael S. Tsirkin <[EMAIL PROTECTED]> --- Roland, This is an incremental patch, please apply in -mm on top of the last one. Alternatively, I can repost the whole patch. Let me know. diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index bb35d05..8082d50 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h @@ -396,7 +396,8 @@ int ipoib_pkey_dev_delay_open(struct net_device *dev); #define IPOIB_FLAGS_RC 0x80 #define IPOIB_FLAGS_UC 0x40 -#define IPOIB_CM_SUPPORTED(ha) (ha[0] & (IPOIB_FLAGS_RC | IPOIB_FLAGS_UC)) +/* We don't support UC connections at the moment */ +#define IPOIB_CM_SUPPORTED(ha) (ha[0] & (IPOIB_FLAGS_RC)) static inline int ipoib_cm_admin_enabled(struct net_device *dev) { -- MST _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general