Review Board 2.0.15


cpu: Move traffic generator sending out of generator states

Review Request #1841 - Created April 22, 2013 and submitted

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 9683:710b32378595
---------------------------
cpu: Move traffic generator sending out of generator states

This patch moves the responsibility for sending packets out of the
generator states and leaves it with the top-level traffic
generator. The main aim of this patch is to enable a transition to
non-queued ports, i.e. with send/retry flow control, and to do so it
is much more convenient to not wrap the port interactions and instead
leave it all local to the traffic generator.

The generator states now only govern when they are ready to send
something new, and the generation of the packets to send. They thus
have no knowledge of the port that is used.
All regressions pass
Review request changed
Updated (May 30, 2013, 2:54 a.m.)

Status: Closed (submitted)