diff options
author | Brian Bakke <bbakke@us.ibm.com> | 2017-10-03 08:07:26 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-10-06 13:28:48 -0400 |
commit | 7e787acb321e220f9ba0f4a17a408e06b5b4cef0 (patch) | |
tree | 6ba1d26a0c1706cf3b766e1b09935daa7e15a53e /src/usr/mbox/mailboxsp.C | |
parent | 49acb2a77653aa015c5507e1f8506f64ce22777b (diff) | |
download | talos-hostboot-7e787acb321e220f9ba0f4a17a408e06b5b4cef0.tar.gz talos-hostboot-7e787acb321e220f9ba0f4a17a408e06b5b4cef0.zip |
Add message tracking variable increment that disappeared.
message tracking variables count the number of Reclaim Buffer messages
sent and the number of responses received. This is used to pace the
message sends to avoid runaway.
Change-Id: I61d0c86c445cd23111b8f0905cd3d770fd8e009c
CQ: SW403683
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47071
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/mbox/mailboxsp.C')
-rw-r--r-- | src/usr/mbox/mailboxsp.C | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/usr/mbox/mailboxsp.C b/src/usr/mbox/mailboxsp.C index 355d5a4e3..46bf65297 100644 --- a/src/usr/mbox/mailboxsp.C +++ b/src/usr/mbox/mailboxsp.C @@ -712,6 +712,15 @@ void MailboxSp::send_msg(mbox_msg_t * i_msg) iv_msg_to_send.msg_payload.data[1] = 0; iv_msg_to_send.msg_payload.extra_data = NULL; iv_msg_to_send.msg_payload.__reserved__async = 1; + + TRACFCOMP(g_trac_mbox, + INFO_MRK + "MailboxSp::send_msg - " + "Send Reclaim Msg to FSP"); + + // track the msg until completion + // actual msg send happens below + iv_reclaim_sent_cnt++; } else { @@ -1169,6 +1178,11 @@ void MailboxSp::handle_hbmbox_msg(mbox_msg_t & i_mbox_msg) void MailboxSp::handle_hbmbox_resp(mbox_msg_t & i_mbox_msg) { + TRACFCOMP(g_trac_mbox, + INFO_MRK + "MailboxSp::handle_hbmbox_resp - " + "Reclaim Msg response from FSP"); + //Response for more DMA buffers iv_dmaBuffer.addBuffers (i_mbox_msg.msg_payload.data[0]); |