gem5/src/dev/net
Gabor Dozsa ecf68fac40 dev: Fix race conditions at terminating dist-gem5 simulations
Two problems may arise when a distributed gem5 simulation terminates:
(i) simulation thread(s) may get stuck in an incomplete synchronisation
event which prohibits processing  the simulation exit event; and (ii) a
stale receiver thread may try to access objects that have already been
deleted while exiting gem5. This patch terminates receive threads properly
and aborts the processing of any incomplete synchronisation event.

Change-Id: I72337aa12c7926cece00309640d478b61e55a429
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
2016-12-06 17:33:06 +00:00
..
dist_etherlink.cc dev: Add m5 op to toggle synchronization for dist-gem5. 2016-10-26 22:48:40 -04:00
dist_etherlink.hh dev: Distributed Ethernet link for distributed gem5 simulations 2016-01-07 16:33:47 -06:00
dist_iface.cc dev: Fix race conditions at terminating dist-gem5 simulations 2016-12-06 17:33:06 +00:00
dist_iface.hh dev: Fix race conditions at terminating dist-gem5 simulations 2016-12-06 17:33:06 +00:00
dist_packet.hh dev: Add m5 op to toggle synchronization for dist-gem5. 2016-10-26 22:48:40 -04:00
etherbus.cc dev: Add 'simLength' parameter in EthPacketData 2016-10-26 22:48:33 -04:00
etherbus.hh dev: Move network devices to src/dev/net/ 2015-12-10 10:35:18 +00:00
etherdevice.cc sim: Call regStats of base-class as well 2016-06-06 17:16:43 +01:00
etherdevice.hh dev: Move network devices to src/dev/net/ 2015-12-10 10:35:18 +00:00
etherdump.cc base: Add support for changing output directories 2015-11-27 14:41:59 +00:00
etherdump.hh dev: Move network devices to src/dev/net/ 2015-12-10 10:35:18 +00:00
etherint.cc dev: Move network devices to src/dev/net/ 2015-12-10 10:35:18 +00:00
etherint.hh dev: Move network devices to src/dev/net/ 2015-12-10 10:35:18 +00:00
etherlink.cc dev: Add 'simLength' parameter in EthPacketData 2016-10-26 22:48:33 -04:00
etherlink.hh dev: Move network devices to src/dev/net/ 2015-12-10 10:35:18 +00:00
Ethernet.py dev: Add m5 op to toggle synchronization for dist-gem5. 2016-10-26 22:48:40 -04:00
etherobject.hh dev: Move network devices to src/dev/net/ 2015-12-10 10:35:18 +00:00
etherpkt.cc dev: Fix buffer length when unserializing an eth pkt 2016-11-29 13:04:45 -05:00
etherpkt.hh dev: Fix buffer length when unserializing an eth pkt 2016-11-29 13:04:45 -05:00
etherswitch.cc dev: Add 'simLength' parameter in EthPacketData 2016-10-26 22:48:33 -04:00
etherswitch.hh dist, dev: Fixed the packet ordering in etherswitch 2016-06-08 09:12:41 -05:00
ethertap.cc dev: Add 'simLength' parameter in EthPacketData 2016-10-26 22:48:33 -04:00
ethertap.hh dev: Move network devices to src/dev/net/ 2015-12-10 10:35:18 +00:00
i8254xGBe.cc dev: Fix buffer length when unserializing an eth pkt 2016-11-29 13:04:45 -05:00
i8254xGBe.hh style: remove trailing whitespace 2016-02-06 17:21:18 -08:00
i8254xGBe_defs.hh style: remove trailing whitespace 2016-02-06 17:21:18 -08:00
ns_gige.cc dev: Fix buffer length when unserializing an eth pkt 2016-11-29 13:04:45 -05:00
ns_gige.hh dev: Move network devices to src/dev/net/ 2015-12-10 10:35:18 +00:00
ns_gige_reg.h scons: Enable -Wextra by default 2016-01-11 05:52:20 -05:00
pktfifo.cc dev: Add 'simLength' parameter in EthPacketData 2016-10-26 22:48:33 -04:00
pktfifo.hh scons: Enable -Wextra by default 2016-01-11 05:52:20 -05:00
SConscript dist, dev: add an ethernet switch model 2016-02-06 13:33:34 -05:00
sinic.cc dev: Fix buffer length when unserializing an eth pkt 2016-11-29 13:04:45 -05:00
sinic.hh dev: Move network devices to src/dev/net/ 2015-12-10 10:35:18 +00:00
sinicreg.hh dev: Move network devices to src/dev/net/ 2015-12-10 10:35:18 +00:00
tcp_iface.cc dev: Add m5 op to toggle synchronization for dist-gem5. 2016-10-26 22:48:40 -04:00
tcp_iface.hh dev: Add m5 op to toggle synchronization for dist-gem5. 2016-10-26 22:48:40 -04:00