svn commit: r360498 - head/sys/net
Mark Johnston
markj at FreeBSD.org
Thu Apr 30 15:39:05 UTC 2020
Author: markj
Date: Thu Apr 30 15:39:04 2020
New Revision: 360498
URL: https://svnweb.freebsd.org/changeset/base/360498
Log:
Increase the iflib txq callout mutex name length to 32 bytes.
With a length of 16, the name ("<if name>:TX(<qid>):callout") typically
gets truncated.
PR: 245712
Reported by: ghuckriede at blackberry.com
MFC after: 1 week
Modified:
head/sys/net/iflib.c
Modified: head/sys/net/iflib.c
==============================================================================
--- head/sys/net/iflib.c Thu Apr 30 15:24:05 2020 (r360497)
+++ head/sys/net/iflib.c Thu Apr 30 15:39:04 2020 (r360498)
@@ -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
More information about the svn-src-head
mailing list