Review Board 2.0.15


dist, dev: Fixed the packet ordering in etherswitch

Review Request #3465 - Created May 6, 2016 and submitted - Latest diff uploaded

Information
Mohammad Alian
gem5
default
Reviewers
Default
Changeset 11472:d97d6bf2206b
---------------------------
dist, dev: Fixed the packet ordering in etherswitch
This patch fixes the order that packets gets pushed into the output fifo
of etherswitch. If two packets arrive at the same tick to the etherswitch,
we sort and push them based on their source port id.
In dist-gem5 simulations, if there is no ordering inforced while two
packets arrive at the same tick, it can lead to non-deterministic simulations