svn commit: r362026 - stable/12/sys/dev/netmap

Vincenzo Maffione vmaffione at FreeBSD.org
Wed Jun 10 20:05:54 UTC 2020


Author: vmaffione
Date: Wed Jun 10 20:05:53 2020
New Revision: 362026
URL: https://svnweb.freebsd.org/changeset/base/362026

Log:
  MFC r361760
  
  netmap: vtnet: clean up rxsync disabled logs

Modified:
  stable/12/sys/dev/netmap/if_vtnet_netmap.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/netmap/if_vtnet_netmap.h
==============================================================================
--- stable/12/sys/dev/netmap/if_vtnet_netmap.h	Wed Jun 10 20:05:07 2020	(r362025)
+++ stable/12/sys/dev/netmap/if_vtnet_netmap.h	Wed Jun 10 20:05:53 2020	(r362026)
@@ -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;
 }


More information about the svn-src-stable mailing list