summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincenzo Maffione <vmaffione@FreeBSD.org>2020-06-03 17:47:32 +0000
committerVincenzo Maffione <vmaffione@FreeBSD.org>2020-06-03 17:47:32 +0000
commite8c07b1246d9ca73e2e48d25f2b08c03ccf50820 (patch)
treead94e41344c4c6e41b7a62960cd5993614c00e10
parent1b6d5a80a66006100d03f67d259777ae01bea23d (diff)
Notes
-rw-r--r--sys/dev/netmap/if_vtnet_netmap.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/netmap/if_vtnet_netmap.h b/sys/dev/netmap/if_vtnet_netmap.h
index 157cea56218e..113a85655531 100644
--- a/sys/dev/netmap/if_vtnet_netmap.h
+++ b/sys/dev/netmap/if_vtnet_netmap.h
@@ -363,8 +363,6 @@ vtnet_netmap_rxsync(struct netmap_kring *kring, int flags)
kring->nr_hwtail = nm_i;
kring->nr_kflags &= ~NKR_PENDINTR;
}
- nm_prdis("[B] h %d c %d hwcur %d hwtail %d", ring->head, ring->cur,
- kring->nr_hwcur, kring->nr_hwtail);
/*
* Second part: skip past packets that userspace has released.
@@ -387,8 +385,8 @@ vtnet_netmap_rxsync(struct netmap_kring *kring, int flags)
virtqueue_notify(vq);
}
- nm_prdis("[C] h %d c %d t %d hwcur %d hwtail %d", ring->head, ring->cur,
- ring->tail, kring->nr_hwcur, kring->nr_hwtail);
+ nm_prdis("h %d c %d t %d hwcur %d hwtail %d", kring->rhead,
+ kring->rcur, kring->rtail, kring->nr_hwcur, kring->nr_hwtail);
return 0;
}