diff options
Diffstat (limited to 'src/usr/mbox')
-rw-r--r-- | src/usr/mbox/ipcSp.C | 9 | ||||
-rw-r--r-- | src/usr/mbox/mailboxsp.C | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/usr/mbox/ipcSp.C b/src/usr/mbox/ipcSp.C index ac45be232..db4dc9b42 100644 --- a/src/usr/mbox/ipcSp.C +++ b/src/usr/mbox/ipcSp.C @@ -28,6 +28,7 @@ #include <mbox/mboxif.H> #include <errl/errlmanager.H> #include <mbox/mbox_reasoncodes.H> +#include <intr/interrupt.H> namespace START_PAYLOAD { @@ -142,9 +143,17 @@ void IpcSp::msgHandler() "IPC received the test connection msg - %d:%d", msg->data[0], msg->data[1] ); + // Tell this HB node about the other HB node + err = INTR::addHbNode(msg->data[1]); + if( err) + { + errlCommit(err,IPC_COMP_ID); + } + //Send a response to indicate the connection has been //established err = MBOX::send(MBOX::HB_COALESCE_MSGQ, msg, msg->data[1] ); + if (err) { errlCommit(err,IPC_COMP_ID); diff --git a/src/usr/mbox/mailboxsp.C b/src/usr/mbox/mailboxsp.C index 59b5dff04..28b6f4346 100644 --- a/src/usr/mbox/mailboxsp.C +++ b/src/usr/mbox/mailboxsp.C @@ -1665,6 +1665,7 @@ errlHndl_t MBOX::send(queue_id_t i_q_id, msg_t * i_msg,int i_node) { uint64_t q_handle = i_q_id; q_handle |= (((uint64_t)MSGQ_TYPE_IPC | (uint64_t)i_node) << 32); + TRACFCOMP(g_trac_mboxmsg,INFO_MRK "MBOXSP IPC SEND MSG: Dest node %d. msg_id: %lx", i_node, |