Date: Wed, 3 Jun 2020 05:48:42 +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: r361746 - head/sys/dev/netmap Message-ID: <202006030548.0535mgXa089328@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006030548.0535mgXa089328>