diff mbox

DAPL v2.0: ucm: configure the recv channel FD to non-blocking

Message ID E3280858FA94444CA49D2BA02341C983011C4D94F4@orsmsx506.amr.corp.intel.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Arlin Davis Dec. 3, 2010, 11:32 p.m. UTC
None
diff mbox

Patch

diff --git a/dapl/openib_ucm/device.c b/dapl/openib_ucm/device.c
index 6882c58..a628a78 100644
--- a/dapl/openib_ucm/device.c
+++ b/dapl/openib_ucm/device.c
@@ -497,6 +497,7 @@  static int ucm_service_create(IN DAPL_HCA *hca)
     	tp->rch = ibv_create_comp_channel(hca->ib_hca_handle);
 	if (!tp->rch) 
 		goto bail;
+	dapls_config_comp_channel(tp->rch);
 
 	tp->scq = ibv_create_cq(hca->ib_hca_handle, tp->cqe, hca, NULL, 0);
 	if (!tp->scq)