Author: vmaffione
Date: Wed Jun  3 05:48:42 2020
New Revision: 361746
URL: https://svnweb.freebsd.org/changeset/base/361746

Log:
  netmap: vtnet: remove leftover memory barriers
  
  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 05:27:29 2020        
(r361745)
+++ head/sys/dev/netmap/if_vtnet_netmap.h       Wed Jun  3 05:48:42 2020        
(r361746)
@@ -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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to