Date: Fri, 20 May 2016 23:08:22 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r300336 - head/sys/dev/cxgbe/tom Message-ID: <201605202308.u4KN8MKw088209@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605202308.u4KN8MKw088209>