[Skiboot] [PATCH] bt: Make queue length 10
Joel Stanley
joel at jms.id.au
Wed Mar 4 14:36:23 AEDT 2015
Now that skiboot supports more IPMI functionality we are queuing more
than 5 messages at a time. For example in the astbmc platform.init()
adds 6 messages to the queue.
Shifting to ten ensures current systems boot without dropping messages,
and should give us some breathing room.
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
hw/bt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/bt.c b/hw/bt.c
index 56a67a9..94776e1 100644
--- a/hw/bt.c
+++ b/hw/bt.c
@@ -57,7 +57,7 @@
/*
* Maximum number of outstanding messages to allow in the queue.
*/
-#define BT_MAX_QUEUE_LEN 5
+#define BT_MAX_QUEUE_LEN 10
/*
* How long (in TB ticks) before a message is timed out.
@@ -386,7 +386,7 @@ static void bt_add_msg(struct bt_msg *bt_msg)
bt_msg->seq = ipmi_seq++;
bt.queue_len++;
if (bt.queue_len > BT_MAX_QUEUE_LEN) {
- /* Maximum ueue lenght exceeded - remove the oldest message
+ /* Maximum queue length exceeded - remove the oldest message
from the queue. */
BT_ERR(bt_msg, "Maximum queue length exceeded");
bt_msg = list_tail(&bt.msgq, struct bt_msg, link);
--
2.1.4
More information about the Skiboot
mailing list