len = sizeof(msg);
ret = scif_send(op_ep, &msg, len, SCIF_SEND_BLOCK);
if (ret != len) {
- mlog(0, " ERR: rcv on new_ep %d, ret %d, exp %d\n", op_ep, ret, len);
+ mlog(0, " ERR: snd on new_ep %d, ret %d, exp %d\n", op_ep, ret, len);
/* remove this created SMD from MCM device ??? */
}
}
len = sizeof(dat_mix_hdr_t);
ret = scif_send(smd->scif_ep, pmsg, len, SCIF_SEND_BLOCK);
if (ret != len) {
- mlog(0, " ERR: rcv on new_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
+ mlog(0, " ERR: snd on new_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
return ret;
}
return 0;
len = sizeof(dat_mix_listen_t);
ret = scif_send(smd->scif_ep, pmsg, len, SCIF_SEND_BLOCK);
if (ret != len) {
- mlog(0, " ERR: rcv on new_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
+ mlog(0, " ERR: snd on new_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
return ret;
}
len = sizeof(dat_mix_hdr_t);
ret = scif_send(smd->scif_ep, pmsg, len, SCIF_SEND_BLOCK);
if (ret != len) {
- mlog(0, " ERR: rcv on scif_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
+ mlog(0, " ERR: snd on scif_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
return ret;
}
return 0;
len = sizeof(dat_mix_cq_t);
ret = scif_send(smd->scif_ep, pmsg, len, SCIF_SEND_BLOCK);
if (ret != len) {
- mlog(0, " ERR: rcv on scif_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
+ mlog(0, " ERR: snd on scif_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
return ret;
}
return 0;
len = sizeof(dat_mix_dto_comp_t);
ret = scif_send(smd->scif_ep, pmsg, len, SCIF_SEND_BLOCK);
if (ret != len) {
- mlog(0, " ERR: rcv on scif_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
+ mlog(0, " ERR: snd on scif_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
return ret;
}
return 0;
len = sizeof(dat_mix_hdr_t);
ret = scif_send(smd->scif_ep, pmsg, len, SCIF_SEND_BLOCK);
if (ret != len) {
- mlog(0, " ERR: rcv on scif_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
+ mlog(0, " ERR: snd on scif_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
return ret;
}
mlog(1, " MIX_QP_DESTROY: QP %p response sent to MIC client\n", m_qp);
/* Find the CQ's for this QP for transmitting */
m_cq = mix_get_cq(smd, scq_id);
if (!m_cq) {
- mlog(0, " ERR: mcm_get_cq, id %d, not found\n", scq_id);
+ mlog(0, " ERR: mix_get_cq, id %d, not found\n", scq_id);
goto err;
}
len = sizeof(dat_mix_qp_t);
ret = scif_send(smd->scif_ep, pmsg, len, SCIF_SEND_BLOCK);
if (ret != len) {
- mlog(0, " ERR: rcv on scif_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
+ mlog(0, " ERR: snd on scif_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
return ret;
}
return 0;
len = sizeof(dat_mix_dto_comp_t);
ret = scif_send(m_cq->smd->scif_un_ep, &msg, len, SCIF_SEND_BLOCK); /* BUG? have to send back on cm_ep ?? */
if (ret != len) {
- mlog(0, " ERR: rcv on scif_ep %d, ret %d, exp %d\n",
+ mlog(0, " ERR: snd on scif_ep %d, ret %d, exp %d\n",
m_cq->smd->scif_un_ep, ret, len);
return;
}
len = sizeof(dat_mix_cm_event_t);
ret = scif_send(m_cm->smd->scif_un_ep, &msg, len, SCIF_SEND_BLOCK); /* ??? assume small msgs are sent without waiting on receiver */
if (ret != len) {
- mlog(0, " ERR: rcv on scif_ep %d, ret %d, exp %d\n", m_cm->smd->scif_un_ep, ret, len);
+ mlog(0, " ERR: snd on scif_ep %d, ret %d, exp %d\n", m_cm->smd->scif_un_ep, ret, len);
return -1;
}
mlog(1, " MIX_CM_EVENT: cm %p cm_id %d, ctx %p, event 0x%x\n", m_cm, msg.cm_id, msg.cm_ctx, event);
/* Find the QP for linking */
m_qp = mix_get_qp(smd, pmsg->qp_id);
if (!m_qp) {
- mlog(0, " ERR: mcm_get_qp, id %d, not found\n", pmsg->qp_id);
+ mlog(0, " ERR: mix_get_qp, id %d, not found\n", pmsg->qp_id);
goto err;
}
len = sizeof(dat_mix_cm_t);
ret = scif_send(smd->scif_ep, pmsg, len, SCIF_SEND_BLOCK);
if (ret != len) {
- mlog(0, " ERR: rcv on scif_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
+ mlog(0, " ERR: snd on scif_ep %d, ret %d, exp %d\n", smd->scif_ep, ret, len);
return ret;
}
mlog(1, " MIX_CM_REQ_OUT: MPXYD id 0x%x, ctx %p - MIC id 0x%x, ctx %p\n",
mlog(1, " MIX_CM_DREQ_OUT: cm_id %d, cm_ctx %p, qp_id %d \n",
pmsg->cm_id, (void*)pmsg->cm_ctx, pmsg->qp_id);
- /* Find the QP for linking */
+ /* Find the CM for linking */
m_cm = mix_get_cm(smd, pmsg->cm_id);
if (!m_cm) {
- mlog(0, " ERR: mcm_get_qp, id %d, not found\n", pmsg->qp_id);
+ mlog(0, " ERR: mix_get_cm, id %d, not found\n", pmsg->cm_id);
return -1;
}
mlog(1, " MIX_CM_RTU_OUT: cm_id %d, cm_ctx %p, qp_id %d \n",
pmsg->cm_id, (void*)pmsg->cm_ctx, pmsg->qp_id);
- /* Find the QP for linking */
+ /* Find the CM for linking */
m_cm = mix_get_cm(smd, pmsg->cm_id);
if (!m_cm) {
- mlog(0, " ERR: mcm_get_qp, id %d, not found\n", pmsg->qp_id);
+ mlog(0, " ERR: mix_get_cm, id %d, not found\n", pmsg->cm_id);
return -1;
}
len = sizeof(dat_mix_cm_t);
ret = scif_send(m_cm->smd->scif_un_ep, &msg, len, SCIF_SEND_BLOCK);
if (ret != len) {
- mlog(0, " ERR: rcv on scif_ep %d, ret %d, exp %d\n", m_cm->smd->scif_un_ep, ret, len);
+ mlog(0, " ERR: snd on scif_ep %d, ret %d, exp %d\n", m_cm->smd->scif_un_ep, ret, len);
return -1;
}
mlog(1, " success cm_id %d\n", msg.cm_id);
len = sizeof(dat_mix_cm_t);
ret = scif_send(acm->smd->scif_un_ep, &msg, len, SCIF_SEND_BLOCK);
if (ret != len) {
- mlog(0, " ERR: rcv on scif_ep %d, ret %d, exp %d\n", acm->smd->scif_un_ep, ret, len);
+ mlog(0, " ERR: snd on scif_ep %d, ret %d, exp %d\n", acm->smd->scif_un_ep, ret, len);
return -1;
}
mlog(1, " success cm_id %d cm_ctx %p\n", msg.cm_id, msg.cm_ctx);
len = sizeof(dat_mix_cm_t);
ret = scif_send(m_cm->smd->scif_un_ep, &msg, len, SCIF_SEND_BLOCK);
if (ret != len) {
- mlog(0, " ERR: rcv on scif_ep %d, ret %d, exp %d\n", m_cm->smd->scif_un_ep, ret, len);
+ mlog(0, " ERR: snd on scif_ep %d, ret %d, exp %d\n", m_cm->smd->scif_un_ep, ret, len);
return -1;
}
mlog(1, " success cm_id %d\n", msg.cm_id);
/* Find the CM for this reply */
m_cm = mix_get_cm(smd, pmsg->cm_id);
if (!m_cm) {
- mlog(0, " ERR: mcm_get_cm, id %d, not found\n", pmsg->cm_id);
+ mlog(0, " ERR: mix_get_cm, id %d, not found\n", pmsg->cm_id);
return -1;
}
/* Attach the QP for this CR */
m_cm->m_qp = mix_get_qp(smd, pmsg->qp_id);
if (!m_cm->m_qp) {
- mlog(0, " ERR: mcm_get_qp, id %d, not found\n", pmsg->qp_id);
+ mlog(0, " ERR: mix_get_qp, id %d, not found\n", pmsg->qp_id);
return -1;
}
mlog(1, " MIX_CM_REP_OUT: found cm_id %d = %p qp_id %d = %p \n",
mlog(1, " MIX_CM_REJ_OUT: cm_id %d, cm_ctx %p, qp_id %d \n",
pmsg->cm_id, (void*)pmsg->cm_ctx, pmsg->qp_id);
- /* Find the QP for linking */
+ /* Find the CM for linking */
m_cm = mix_get_cm(smd, pmsg->cm_id);
if (!m_cm) {
- mlog(0, " ERR: mcm_get_qp, id %d, not found\n", pmsg->qp_id);
+ mlog(0, " ERR: mix_get_cm, id %d, not found\n", pmsg->cm_id);
return -1;
}
len = sizeof(dat_mix_hdr_t);
ret = scif_send(m_cm->smd->scif_un_ep, &msg, len, SCIF_SEND_BLOCK); /* ??? assume sent without waiting on receiver */
if (ret != len) {
- mlog(0, " ERR: rcv on scif_ep %d, ret %d, exp %d\n", m_cm->smd->scif_un_ep, ret, len);
+ mlog(0, " ERR: snd on scif_ep %d, ret %d, exp %d\n", m_cm->smd->scif_un_ep, ret, len);
return -1;
}
mlog(1, " MIX_CM_DISC_IN: cm_id %d\n", msg.req_id);