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) {
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to