From 814fa34dfb3706aede6ac6c2ea896da90c2a1d75 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Thu, 30 Apr 2020 15:39:04 +0000 Subject: [PATCH] Increase the iflib txq callout mutex name length to 32 bytes. With a length of 16, the name (":TX():callout") typically gets truncated. PR: 245712 Reported by: ghuckriede@blackberry.com MFC after: 1 week --- sys/net/iflib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/iflib.c b/sys/net/iflib.c index 1c8c2f6e152..db4a11faaad 100644 --- a/sys/net/iflib.c +++ b/sys/net/iflib.c @@ -358,7 +358,7 @@ struct iflib_txq { bus_dma_tag_t ift_buf_tag; bus_dma_tag_t ift_tso_buf_tag; iflib_dma_info_t ift_ifdi; -#define MTX_NAME_LEN 16 +#define MTX_NAME_LEN 32 char ift_mtx_name[MTX_NAME_LEN]; bus_dma_segment_t ift_segs[IFLIB_MAX_TX_SEGS] __aligned(CACHE_LINE_SIZE); #ifdef IFLIB_DIAGNOSTICS