[ofa-general] [PATCH] dapl v1: use max cma backlog as listen backlog
Arlin Davis
arlin.r.davis at intel.com
Mon Feb 11 16:32:42 PST 2008
DAPL OFA provider: set listen backlog to default cma backlog max.
Patch against dat1.2 branch.
Signed-off by: Arlin Davis <ardavis at ichips.intel.com> <mailto:ardavis at ichips.intel.com>
diff --git a/dapl/openib_cma/dapl_ib_cm.c b/dapl/openib_cma/dapl_ib_cm.c
index 1826941..68e5909 100755
--- a/dapl/openib_cma/dapl_ib_cm.c
+++ b/dapl/openib_cma/dapl_ib_cm.c
@@ -722,7 +722,7 @@ dapls_ib_setup_conn_listener(IN DAPL_IA *ia_ptr,
" listen(conn=%p cm_id=%d)\n",
sp_ptr->cm_srvc_handle,conn->cm_id);
- if (rdma_listen(conn->cm_id,64)) { /* backlog to 64 */
+ if (rdma_listen(conn->cm_id,0)) { /* max cma backlog */
if ((errno == EBUSY) || (errno == EADDRINUSE))
dat_status = DAT_CONN_QUAL_IN_USE;
More information about the general
mailing list