msg.dev_attr.pkey = tp->ib_cm.pkey;
msg.dev_attr.max_inline = tp->ib_cm.max_inline;
+ memcpy(&msg.dev_addr, &tp->addr, sizeof(dat_mcm_addr_t));
+
len = sizeof(dat_mix_open_t);
ret = scif_send(tp->scif_ep, &msg, len, SCIF_SEND_BLOCK);
if (ret != len) {
tp->dev_id = msg.hdr.req_id;
dapl_log(DAPL_DBG_TYPE_EXTENSION,
- " mix_open reply (msg %p, ln %d) EPs %d %d %d - dev_id %d\n",
+ " mix_open reply (msg %p, ln %d) EPs %d %d %d - dev_id %d lid 0x%x\n",
&msg, len, tp->scif_ep, tp->scif_ev_ep,
- tp->scif_tx_ep, tp->dev_id);
+ tp->scif_tx_ep, tp->dev_id, ntohs(tp->addr.lid));
return 0;
}