Author: jhb
Date: Fri May 20 23:08:22 2016
New Revision: 300336
URL: https://svnweb.freebsd.org/changeset/base/300336

Log:
  Move the KTR for the update of ddp_active_id on each completion under
  VERBOSE_TRACES.
  
  Sponsored by: Chelsio Communications

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

Modified: head/sys/dev/cxgbe/tom/t4_ddp.c
==============================================================================
--- head/sys/dev/cxgbe/tom/t4_ddp.c     Fri May 20 22:03:51 2016        
(r300335)
+++ head/sys/dev/cxgbe/tom/t4_ddp.c     Fri May 20 23:08:22 2016        
(r300336)
@@ -296,8 +296,10 @@ complete_ddp_buffer(struct toepcb *toep,
                        toep->ddp_active_id = -1;
                } else
                        toep->ddp_active_id ^= 1;
+#ifdef VERBOSE_TRACES
                CTR2(KTR_CXGBE, "%s: ddp_active_id = %d", __func__,
                    toep->ddp_active_id);
+#endif
        } else {
                KASSERT(toep->ddp_active_count != 0 &&
                    toep->ddp_active_id != -1,
_______________________________________________
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