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.
void
PacketQueue::schedSendTiming(PacketPtr pkt, Tick when, bool send_as_snoop)
{
- assert(when > curTick());
+ // we can still send a packet before the end of this tick
+ assert(when >= curTick());
// nothing on the list, or earlier than current front element,
// schedule an event