Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2020 15:39:04 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r360498 - head/sys/net
Message-ID:  <202004301539.03UFd4EK085412@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004301539.03UFd4EK085412>