From 5146689f1dbbce01cc46e23d749c28828e7e3ca8 Mon Sep 17 00:00:00 2001 From: James Lentini Date: Wed, 14 Sep 2005 17:44:44 +0000 Subject: [PATCH] r3432: Request address resolution using ATS. Signed-off-by: James Lentini --- dapl/openib/dapl_ib_cm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dapl/openib/dapl_ib_cm.c b/dapl/openib/dapl_ib_cm.c index 4b74ec2..36a4433 100644 --- a/dapl/openib/dapl_ib_cm.c +++ b/dapl/openib/dapl_ib_cm.c @@ -207,7 +207,8 @@ static void dapli_rt_comp_handler(uint64_t req_id, void *context, int rec_num) } status = ib_at_route_by_ip(((struct sockaddr_in *)&conn->r_addr)->sin_addr.s_addr, - 0, 0, 0, &conn->dapl_rt, + 0, 0, IB_AT_ROUTE_FORCE_ATS, + &conn->dapl_rt, &conn->dapl_comp,&conn->dapl_comp.req_id); if (status < 0) { dapl_dbg_log(DAPL_DBG_TYPE_ERR, "dapl_rt_comp_handler: " @@ -607,7 +608,8 @@ dapls_ib_connect ( status = ib_at_route_by_ip( ((struct sockaddr_in *)&conn->r_addr)->sin_addr.s_addr, ((struct sockaddr_in *)&conn->hca->hca_address)->sin_addr.s_addr, - 0, 0, &conn->dapl_rt, &conn->dapl_comp, &conn->dapl_comp.req_id); + 0, IB_AT_ROUTE_FORCE_ATS, &conn->dapl_rt, &conn->dapl_comp, + &conn->dapl_comp.req_id); dapl_dbg_log(DAPL_DBG_TYPE_CM, " connect: at_route ret=%d,%s req_id %d GID %016llx %016llx\n", status, strerror(errno), conn->dapl_comp.req_id, -- 2.41.0