From: Gabe Black Date: Thu, 1 Jun 2017 22:03:40 +0000 (-0700) Subject: dev: Add a missing parameter to the EtherTap device. X-Git-Tag: v19.0.0.0~2767 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=201e86fbeba9c7ef081e40b391f1963de39d5924;p=gem5.git 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 Maintainer: Nathan Binkert --- 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'