PacketQueue: Allow queuing in the same tick as desired send tick
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 21 Aug 2012 09:49:24 +0000 (05:49 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 21 Aug 2012 09:49:24 +0000 (05:49 -0400)
commit58033095745e9daba44b31541bb21599bb999141
tree09ec821d18a5259b9aaa8b69eca8069ea0c9613d
parent4be1ae3cf874292e95afdf9811c51533bcde79f7
PacketQueue: Allow queuing in the same tick as desired send tick

This patch allows packets to be enqueued in the same tick as they are
intended to be sent. This does not imply they actually are sent that
tick, although that is possible.

This change is useful for module that use the queued ports primarly to
avoid handling the flow control involved in sending and retrying
packets.
src/mem/packet_queue.cc