@@ -165,9 +165,9 @@ static void ucm_check_timers(dp_ib_cm_handle_t cm, int *timer)
if ((time - cm->timer)/1000 >
(cm->hca->ib_trans.rep_time << cm->retries)) {
dapl_log(DAPL_DBG_TYPE_WARN,
- " CM_REQ retry %d %p [lid, port, qpn]:"
- " %x %x %x -> %x %x %x Time(ms) %llu > %llu\n",
- cm, cm->retries, ntohs(cm->msg.saddr.ib.lid),
+ " CM_REQ retry %p %d [lid, port, qpn]:"
+ " %x %x %x -> %x %x %x Time(ms) %llu > %d\n",
+ cm, cm->retries+1, ntohs(cm->msg.saddr.ib.lid),
ntohs(cm->msg.sport), ntohl(cm->msg.saddr.ib.qpn),
ntohs(cm->msg.daddr.ib.lid), ntohs(cm->msg.dport),
ntohl(cm->msg.dqpn), (time - cm->timer)/1000,
@@ -184,8 +184,8 @@ static void ucm_check_timers(dp_ib_cm_handle_t cm, int *timer)
(cm->hca->ib_trans.rtu_time << cm->retries)) {
dapl_log(DAPL_DBG_TYPE_WARN,
" CM_REPLY retry %d [lid, port, qpn]:"
- " %x %x %x -> %x %x %x r_pid %x (%x) Time(ms) %llu > %llu\n",
- cm->retries,
+ " %x %x %x -> %x %x %x r_pid %x (%x) Time(ms) %llu > %d\n",
+ cm->retries+1,
ntohs(cm->msg.saddr.ib.lid),
ntohs(cm->msg.sport),
ntohl(cm->msg.saddr.ib.qpn),
@@ -194,7 +194,8 @@ static void ucm_check_timers(dp_ib_cm_handle_t cm, int *timer)
ntohl(cm->msg.daddr.ib.qpn),
ntohl(*(DAT_UINT32*)cm->msg.resv),
ntohl(*(DAT_UINT32*)cm->msg.resv),
- (time - cm->timer)/1000, cm->hca->ib_trans.rtu_time << cm->retries);
+ (time - cm->timer)/1000,
+ cm->hca->ib_trans.rtu_time << cm->retries);
cm->retries++;
dapl_os_unlock(&cm->lock);
ucm_reply(cm);
@@ -208,8 +209,8 @@ static void ucm_check_timers(dp_ib_cm_handle_t cm, int *timer)
(cm->hca->ib_trans.rtu_time << cm->retries)) {
dapl_log(DAPL_DBG_TYPE_WARN,
" CM_DREQ retry %d [lid, port, qpn]:"
- " %x %x %x -> %x %x %x r_pid %x (%x) Time(ms) %llu > %llu\n",
- cm->retries,
+ " %x %x %x -> %x %x %x r_pid %x (%x) Time(ms) %llu > %d\n",
+ cm->retries+1,
ntohs(cm->msg.saddr.ib.lid),
ntohs(cm->msg.sport),
ntohl(cm->msg.saddr.ib.qpn),
@@ -218,7 +219,8 @@ static void ucm_check_timers(dp_ib_cm_handle_t cm, int *timer)
ntohl(cm->msg.dqpn),
ntohl(*(DAT_UINT32*)cm->msg.resv),
ntohl(*(DAT_UINT32*)cm->msg.resv),
- (time - cm->timer)/1000, cm->hca->ib_trans.rtu_time << cm->retries);
+ (time - cm->timer)/1000,
+ cm->hca->ib_trans.rtu_time << cm->retries);
cm->retries++;
dapl_os_unlock(&cm->lock);
dapli_cm_disconnect(cm);