Date: Wed, 3 Jun 2020 17:47:33 +0000 (UTC) From: Vincenzo Maffione <vmaffione@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r361760 - head/sys/dev/netmap Message-ID: <202006031747.053HlX4t035719@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vmaffione Date: Wed Jun 3 17:47:32 2020 New Revision: 361760 URL: https://svnweb.freebsd.org/changeset/base/361760 Log: netmap: vtnet: clean up rxsync disabled logs MFC after: 1 week Modified: head/sys/dev/netmap/if_vtnet_netmap.h Modified: head/sys/dev/netmap/if_vtnet_netmap.h ============================================================================== --- head/sys/dev/netmap/if_vtnet_netmap.h Wed Jun 3 17:46:21 2020 (r361759) +++ head/sys/dev/netmap/if_vtnet_netmap.h Wed Jun 3 17:47:32 2020 (r361760) @@ -363,8 +363,6 @@ vtnet_netmap_rxsync(struct netmap_kring *kring, int fl 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 fl 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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006031747.053HlX4t035719>