Review Board 2.0.15


ruby: Check MessageBuffer space in garnet NetworkInterface

Review Request #3753 - Created Dec. 8, 2016 and submitted

Information
Matthew Poremba
gem5
default
3751, 3752, 3283
Reviewers
Default
tushar
Changeset 11792:9ee13c6fa290
---------------------------
ruby: Check MessageBuffer space in garnet NetworkInterface

Garnet's NetworkInterface does not consider the size of MessageBuffers when
ejecting a Message from the network. Add a size check for the MessageBuffer
and only enqueue if space is available. If space is not available, the
message if placed in a queue and the credit is held. A callback from the
MessageBuffer is implemented to wake the NetworkInterface. If there are
messages in the stalled queue, they are processed first, in a FIFO manner
and if succesfully ejected, the credit is finally sent back upstream. The
maximum size of the stall queue is equal to the number of valid VNETs
with MessageBuffers attached.

   

Issue Summary

11 0 11 0
Description From Last Updated Status
Review request changed
Updated (Jan. 19, 2017, 1:57 p.m.)

Status: Closed (submitted)