svn commit: r300336 - head/sys/dev/cxgbe/tom
John Baldwin
jhb at FreeBSD.org
Fri May 20 23:08:23 UTC 2016
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,
More information about the svn-src-all
mailing list