summaryrefslogtreecommitdiff
path: root/src/base/inet.hh
diff options
context:
space:
mode:
authorMohammad Alian <m.alian1369@gmail.com>2016-06-08 09:12:41 -0500
committerMohammad Alian <m.alian1369@gmail.com>2016-06-08 09:12:41 -0500
commite5b7b6780f9748b6f13ef91e3e22d53ebdf47968 (patch)
treeeeeae13da4325af9fa7729a15fd0e79de8053f92 /src/base/inet.hh
parent8d177d128f14831f9490467863efb9c92d1480bc (diff)
downloadgem5-e5b7b6780f9748b6f13ef91e3e22d53ebdf47968.tar.xz
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 Committed by Jason Lowe-Power <power.jg@gmail.com>
Diffstat (limited to 'src/base/inet.hh')
0 files changed, 0 insertions, 0 deletions