From 7e787acb321e220f9ba0f4a17a408e06b5b4cef0 Mon Sep 17 00:00:00 2001 From: Brian Bakke Date: Tue, 3 Oct 2017 08:07:26 -0500 Subject: 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 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes Tested-by: FSP CI Jenkins Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell --- src/usr/mbox/mailboxsp.C | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src') 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]); -- cgit v1.2.3