*(uint64_t*)&mcast_p->mcast_gid.raw[8] ));\r
\r
// detach\r
- if( mcast_p->ib_qp_p->ucontext) {\r
- //TODO: call uverbs\r
- }\r
- else {\r
- err = ibv_detach_mcast( mcast_p->ib_qp_p, \r
- (union ib_gid *)&mcast_p->mcast_gid, mcast_p->mcast_lid );\r
- if (err) {\r
- HCA_PRINT(TRACE_LEVEL_ERROR ,HCA_DBG_SHIM ,("ibv_detach_mcast failed (%d)\n", err));\r
- status = errno_to_iberr(err);\r
- goto err_detach_mcast;\r
- }\r
- }\r
+ err = ibv_detach_mcast( mcast_p->ib_qp_p, \r
+ (union ib_gid *)&mcast_p->mcast_gid, mcast_p->mcast_lid );\r
+ if (err) {\r
+ HCA_PRINT(TRACE_LEVEL_ERROR ,HCA_DBG_SHIM ,("ibv_detach_mcast failed (%d)\n", err));\r
+ status = errno_to_iberr(err);\r
+ goto err_detach_mcast;\r
+ }\r
\r
status = IB_SUCCESS;\r
\r