ioat(4): De-spam ioat_process_events KTR logs

Sponsored by:	Dell EMC Isilon
This commit is contained in:
cem 2016-09-11 20:14:19 +00:00
parent da14eaa3e1
commit e55e6559dd

View File

@ -663,8 +663,6 @@ ioat_process_events(struct ioat_softc *ioat)
boolean_t pending; boolean_t pending;
int error; int error;
CTR2(KTR_IOAT, "%s channel=%u", __func__, ioat->chan_idx);
mtx_lock(&ioat->cleanup_lock); mtx_lock(&ioat->cleanup_lock);
/* /*
@ -679,8 +677,6 @@ ioat_process_events(struct ioat_softc *ioat)
completed = 0; completed = 0;
comp_update = ioat_get_chansts(ioat); 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; status = comp_update & IOAT_CHANSTS_COMPLETED_DESCRIPTOR_MASK;
if (status == ioat->last_seen) { if (status == ioat->last_seen) {
@ -690,6 +686,8 @@ ioat_process_events(struct ioat_softc *ioat)
*/ */
goto out; 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); desc = ioat_get_ring_entry(ioat, ioat->tail - 1);
while (desc->hw_desc_bus_addr != status && ioat_get_active(ioat) > 0) { while (desc->hw_desc_bus_addr != status && ioat_get_active(ioat) > 0) {