[ofa-general] [PATCH] remove confusing code from udaddy
Or Gerlitz
ogerlitz at voltaire.com
Thu Jun 21 03:41:03 PDT 2007
as the man page of rdma_connect, the qp_num and retry_count
params are relevant only to RDMA_PS_TCP call.
signed-off-by: Or Gerlitz <ogerlitz at voltaire.com>
--- librdmacm/examples/udaddy.c.orig 2007-06-21 13:34:59.000000000 +0300
+++ librdmacm/examples/udaddy.c 2007-06-21 13:35:58.000000000 +0300
@@ -264,8 +264,6 @@ static int route_handler(struct cmatest_
goto err;
memset(&conn_param, 0, sizeof conn_param);
- conn_param.qp_num = node->cma_id->qp->qp_num;
- conn_param.retry_count = 5;
ret = rdma_connect(node->cma_id, &conn_param);
if (ret) {
printf("udaddy: failure connecting: %d\n", ret);
More information about the general
mailing list