@@ -105,7 +105,6 @@ static void dapli_route_resolve(struct dapl_cm_id *conn)
int ret;
#ifdef DAPL_DBG
struct rdma_addr *ipaddr = &conn->cm_id->route.addr;
- struct ib_addr *ibaddr = &conn->cm_id->route.addr.addr.ibaddr;
#endif
dapl_dbg_log(DAPL_DBG_TYPE_CM,
@@ -120,16 +119,16 @@ static void dapli_route_resolve(struct dapl_cm_id *conn)
dapl_dbg_log(DAPL_DBG_TYPE_CM,
" route_resolve: SRC GID subnet %016llx id %016llx\n",
(unsigned long long)
- ntohll(ibaddr->sgid.global.subnet_prefix),
+ ntohll(ipaddr->addr.ibaddr.sgid.global.subnet_prefix),
(unsigned long long)
- ntohll(ibaddr->sgid.global.interface_id));
+ ntohll(ipaddr->addr.ibaddr.sgid.global.interface_id));
dapl_dbg_log(DAPL_DBG_TYPE_CM,
" route_resolve: DST GID subnet %016llx id %016llx\n",
(unsigned long long)
- ntohll(ibaddr->dgid.global.subnet_prefix),
+ ntohll(ipaddr->addr.ibaddr.dgid.global.subnet_prefix),
(unsigned long long)
- ntohll(ibaddr->dgid.global.interface_id));
+ ntohll(ipaddr->addr.ibaddr.dgid.global.interface_id));
dapl_dbg_log(DAPL_DBG_TYPE_CM,
" route_resolve: cm_id %p pdata %p plen %d rr %d ind %d\n",