Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2016 20:14:19 +0000 (UTC)
From:      "Conrad E. Meyer" <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r305710 - head/sys/dev/ioat
Message-ID:  <201609112014.u8BKEJ9F054253@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cem
Date: Sun Sep 11 20:14:19 2016
New Revision: 305710
URL: https://svnweb.freebsd.org/changeset/base/305710

Log:
  ioat(4): De-spam ioat_process_events KTR logs
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sys/dev/ioat/ioat.c

Modified: head/sys/dev/ioat/ioat.c
==============================================================================
--- head/sys/dev/ioat/ioat.c	Sun Sep 11 19:51:32 2016	(r305709)
+++ head/sys/dev/ioat/ioat.c	Sun Sep 11 20:14:19 2016	(r305710)
@@ -663,8 +663,6 @@ ioat_process_events(struct ioat_softc *i
 	boolean_t pending;
 	int error;
 
-	CTR2(KTR_IOAT, "%s channel=%u", __func__, ioat->chan_idx);
-
 	mtx_lock(&ioat->cleanup_lock);
 
 	/*
@@ -679,8 +677,6 @@ ioat_process_events(struct ioat_softc *i
 
 	completed = 0;
 	comp_update = ioat_get_chansts(ioat);
-	CTR4(KTR_IOAT, "%s channel=%u hw_status=0x%lx last_seen=0x%lx",
-	    __func__, ioat->chan_idx, comp_update, ioat->last_seen);
 	status = comp_update & IOAT_CHANSTS_COMPLETED_DESCRIPTOR_MASK;
 
 	if (status == ioat->last_seen) {
@@ -690,6 +686,8 @@ ioat_process_events(struct ioat_softc *i
 		 */
 		goto out;
 	}
+	CTR4(KTR_IOAT, "%s channel=%u hw_status=0x%lx last_seen=0x%lx",
+	    __func__, ioat->chan_idx, comp_update, ioat->last_seen);
 
 	desc = ioat_get_ring_entry(ioat, ioat->tail - 1);
 	while (desc->hw_desc_bus_addr != status && ioat_get_active(ioat) > 0) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609112014.u8BKEJ9F054253>