From: Nathan Binkert Date: Fri, 23 Jul 2004 04:05:29 +0000 (-0400) Subject: notify the transmitter when the packet has finished transmitting. X-Git-Tag: m5_1.0_tutorial~225 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8844eadcdf5c56156960d3cb4c262a07f0e8ac7e;p=gem5.git notify the transmitter when the packet has finished transmitting. --HG-- extra : convert_revision : 66f6f80945c1f621cdc3e743f601d2a73361bacd --- diff --git a/dev/etherlink.hh b/dev/etherlink.hh index 4f227fac5..204348c6d 100644 --- a/dev/etherlink.hh +++ b/dev/etherlink.hh @@ -105,7 +105,7 @@ class EtherLink : public SimObject public: Interface(const std::string &name, Link *txlink, Link *rxlink); bool recvPacket(PacketPtr &packet) { return txlink->transmit(packet); } - void sendDone() { } + void sendDone() { peer->sendDone(); } }; Link *link1;