svn commit: r348791 - head/sys/dev/cxgbe/tom

John Baldwin jhb at FreeBSD.org
Fri Jun 7 21:30:12 UTC 2019


Author: jhb
Date: Fri Jun  7 21:30:11 2019
New Revision: 348791
URL: https://svnweb.freebsd.org/changeset/base/348791

Log:
  Fix debug trace after removal of pdu_overhead.
  
  MFC after:	1 week
  Sponsored by:	Chelsio Communications

Modified:
  head/sys/dev/cxgbe/tom/t4_tls.c

Modified: head/sys/dev/cxgbe/tom/t4_tls.c
==============================================================================
--- head/sys/dev/cxgbe/tom/t4_tls.c	Fri Jun  7 20:59:24 2019	(r348790)
+++ head/sys/dev/cxgbe/tom/t4_tls.c	Fri Jun  7 21:30:11 2019	(r348791)
@@ -1585,8 +1585,8 @@ do_rx_tls_cmp(struct sge_iq *iq, const struct rss_head
 	sbappendstream_locked(sb, m, 0);
 	rx_credits = sbspace(sb) > tp->rcv_wnd ? sbspace(sb) - tp->rcv_wnd : 0;
 #ifdef VERBOSE_TRACES
-	CTR5(KTR_CXGBE, "%s: tid %u PDU overhead %d rx_credits %u rcv_wnd %u",
-	    __func__, tid, pdu_overhead, rx_credits, tp->rcv_wnd);
+	CTR4(KTR_CXGBE, "%s: tid %u rx_credits %u rcv_wnd %u",
+	    __func__, tid, rx_credits, tp->rcv_wnd);
 #endif
 	if (rx_credits > 0 && sbused(sb) + tp->rcv_wnd < sb->sb_lowat) {
 		rx_credits = send_rx_credits(sc, toep, rx_credits);


More information about the svn-src-head mailing list