[ofa-general] [PATCH] dapl v2: use max cma backlog as listen backlog
Arlin Davis
arlin.r.davis at intel.com
Mon Feb 11 16:32:59 PST 2008
DAPL OFA provider: set listen backlog to default cma backlog max.
Patch against master 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 811789e..04b9e41 100755
--- a/dapl/openib_cma/dapl_ib_cm.c
+++ b/dapl/openib_cma/dapl_ib_cm.c
@@ -711,7 +711,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