From 2427fc2c82719c72e991da4bd6c97a5334b935db Mon Sep 17 00:00:00 2001 From: Timothy Hayes Date: Tue, 14 Jan 2020 16:24:54 +0000 Subject: [PATCH] mem: Relax packet limit in packet queue JIRA: https://gem5.atlassian.net/browse/GEM5-587 Change-Id: I4ac24bf18a0aff08a5b33c48179b882b27ef910c Signed-off-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30317 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/mem/packet_queue.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mem/packet_queue.cc b/src/mem/packet_queue.cc index dab133c40..fe08d4943 100644 --- a/src/mem/packet_queue.cc +++ b/src/mem/packet_queue.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012,2015,2018 ARM Limited + * Copyright (c) 2012,2015,2018-2020 ARM Limited * All rights reserved. * * The license below extends only to copyright in the software and shall @@ -115,8 +115,8 @@ PacketQueue::schedSendTiming(PacketPtr pkt, Tick when) // add a very basic sanity check on the port to ensure the // invisible buffer is not growing beyond reasonable limits - if (!_disableSanityCheck && transmitList.size() > 100) { - panic("Packet queue %s has grown beyond 100 packets\n", + if (!_disableSanityCheck && transmitList.size() > 128) { + panic("Packet queue %s has grown beyond 128 packets\n", name()); } -- 2.30.2