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

Vincenzo Maffione vmaffione at FreeBSD.org
Wed Jun 10 20:03:12 UTC 2020


Author: vmaffione
Date: Wed Jun 10 20:03:11 2020
New Revision: 362023
URL: https://svnweb.freebsd.org/changeset/base/362023

Log:
  MFC r361746
  
  netmap: vale: fix 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:02:38 2020	(r362022)
+++ stable/12/sys/dev/netmap/if_vtnet_netmap.h	Wed Jun 10 20:03:11 2020	(r362023)
@@ -129,7 +129,6 @@ vtnet_netmap_txsync(struct netmap_kring *kring, int fl
 	/*
 	 * First part: process new packets to send.
 	 */
-	rmb();
 
 	nm_i = kring->nr_hwcur;
 	if (nm_i != head) {	/* we have new packets to send */
@@ -302,7 +301,6 @@ vtnet_netmap_rxsync(struct netmap_kring *kring, int fl
 	struct vtnet_rxq *rxq = &sc->vtnet_rxqs[ring_nr];
 	struct virtqueue *vq = rxq->vtnrx_vq;
 
-	rmb();
 	/*
 	 * First part: import newly received packets.
 	 * Only accept our own buffers (matching the token). We should only get


More information about the svn-src-stable mailing list