diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-10-21 19:18:19 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-10-21 19:18:19 -0400 |
commit | a51565f6ae19206ff8814d2cdfd13b8f5277c6ef (patch) | |
tree | a4297d2637db9d8328b20d765aa4adb6c860ee7e /dev/ns_gige.cc | |
parent | 7ef8b40b3bc07acfeec7e7ccdbe648e67a309cab (diff) | |
download | gem5-a51565f6ae19206ff8814d2cdfd13b8f5277c6ef.tar.xz |
It's not necessary for a device to call recvDone, that
automatically happens in the interface after the packet
is delivered to the device.
--HG--
extra : convert_revision : 07890c4c5ce83fe709ce203f66c330d7cd631235
Diffstat (limited to 'dev/ns_gige.cc')
-rw-r--r-- | dev/ns_gige.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/dev/ns_gige.cc b/dev/ns_gige.cc index f6d15b02f..7e7fedc15 100644 --- a/dev/ns_gige.cc +++ b/dev/ns_gige.cc @@ -2531,20 +2531,17 @@ NSGigE::recvPacket(PacketPtr packet) if (!rxEnable) { DPRINTF(Ethernet, "receive disabled...packet dropped\n"); - interface->recvDone(); return true; } if (!rxFilterEnable) { DPRINTF(Ethernet, "receive packet filtering disabled . . . packet dropped\n"); - interface->recvDone(); return true; } if (rxFilter(packet)) { DPRINTF(Ethernet, "packet filtered...dropped\n"); - interface->recvDone(); return true; } @@ -2567,7 +2564,6 @@ NSGigE::recvPacket(PacketPtr packet) } rxFifo.push(packet); - interface->recvDone(); rxKick(); return true; |