summaryrefslogtreecommitdiff
path: root/src/dev/net/Ethernet.py
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-06-01 15:03:40 -0700
committerGabe Black <gabeblack@google.com>2017-06-02 00:07:55 +0000
commit201e86fbeba9c7ef081e40b391f1963de39d5924 (patch)
tree9dd30548e6644f88cd1e8c856b6bfd8b392b10b9 /src/dev/net/Ethernet.py
parent946b5aeede320c4cae1c365e8f5b549aadc468f7 (diff)
downloadgem5-201e86fbeba9c7ef081e40b391f1963de39d5924.tar.xz
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 Reviewed-on: https://gem5-review.googlesource.com/3580 Reviewed-by: Nathan Binkert <nate@binkert.org> Maintainer: Nathan Binkert <nate@binkert.org>
Diffstat (limited to 'src/dev/net/Ethernet.py')
-rw-r--r--src/dev/net/Ethernet.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dev/net/Ethernet.py b/src/dev/net/Ethernet.py
index d79aa138a..da1e5720d 100644
--- a/src/dev/net/Ethernet.py
+++ b/src/dev/net/Ethernet.py
@@ -101,6 +101,7 @@ class EtherTap(EtherObject):
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'