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:  ghuckri...@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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to