Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/3580

Change subject: dev: Add a missing parameter to the EtherTap device.
......................................................................

dev: Add a missing parameter to the EtherTap device.

There needs to be a SlavePort called "tap" for the ethertap device to be
able to connect to the gem5 network successfully.

Change-Id: I1ad81219f612fd1ec278c6148af728d20bc916da
---
M src/dev/net/Ethernet.py
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/src/dev/net/Ethernet.py b/src/dev/net/Ethernet.py
index d79aa13..da1e572 100644
--- a/src/dev/net/Ethernet.py
+++ b/src/dev/net/Ethernet.py
@@ -101,6 +101,7 @@
     bufsz = Param.Int(10000, "tap buffer size")
     dump = Param.EtherDump(NULL, "dump object")
     port = Param.UInt16(3500, "tap port")
+    tap = SlavePort("Ethernet interface")

 class EtherDump(SimObject):
     type = 'EtherDump'

--
To view, visit https://gem5-review.googlesource.com/3580
To unsubscribe, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1ad81219f612fd1ec278c6148af728d20bc916da
Gerrit-Change-Number: 3580
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to