Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2016 21:57:00 +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: r302684 - head/sys/dev/ioat
Message-ID:  <201607122157.u6CLv08L028972@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cem
Date: Tue Jul 12 21:57:00 2016
New Revision: 302684
URL: https://svnweb.freebsd.org/changeset/base/302684

Log:
  ioat(4): Enhance KTR logging for descriptor completions

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

Modified: head/sys/dev/ioat/ioat.c
==============================================================================
--- head/sys/dev/ioat/ioat.c	Tue Jul 12 21:56:57 2016	(r302683)
+++ head/sys/dev/ioat/ioat.c	Tue Jul 12 21:57:00 2016	(r302684)
@@ -693,7 +693,8 @@ ioat_process_events(struct ioat_softc *i
 	while (1) {
 		desc = ioat_get_ring_entry(ioat, ioat->tail);
 		dmadesc = &desc->bus_dmadesc;
-		CTR1(KTR_IOAT, "completing desc %d", ioat->tail);
+		CTR3(KTR_IOAT, "completing desc %u ok  cb %p(%p)", ioat->tail,
+		    dmadesc->callback_fn, dmadesc->callback_arg);
 
 		if (dmadesc->callback_fn != NULL)
 			dmadesc->callback_fn(dmadesc->callback_arg, 0);
@@ -763,7 +764,8 @@ out:
 	while (ioat_get_active(ioat) > 0) {
 		desc = ioat_get_ring_entry(ioat, ioat->tail);
 		dmadesc = &desc->bus_dmadesc;
-		CTR1(KTR_IOAT, "completing err desc %d", ioat->tail);
+		CTR3(KTR_IOAT, "completing desc %u err cb %p(%p)", ioat->tail,
+		    dmadesc->callback_fn, dmadesc->callback_arg);
 
 		if (dmadesc->callback_fn != NULL)
 			dmadesc->callback_fn(dmadesc->callback_arg,



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