diff options
author | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2020-06-03 05:48:42 +0000 |
---|---|---|
committer | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2020-06-03 05:48:42 +0000 |
commit | 81d2cade1c80cc50f95eae703375a3fb5fcf5bf4 (patch) | |
tree | 10593d57f999f5b3d7ca4506051c057282ababac | |
parent | f0d8d352c06ff90238bcb471bedfc921f6006e66 (diff) |
Notes
-rw-r--r-- | sys/dev/netmap/if_vtnet_netmap.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/netmap/if_vtnet_netmap.h b/sys/dev/netmap/if_vtnet_netmap.h index 4e01c663ef6b..97a62efe9912 100644 --- a/sys/dev/netmap/if_vtnet_netmap.h +++ b/sys/dev/netmap/if_vtnet_netmap.h @@ -129,7 +129,6 @@ vtnet_netmap_txsync(struct netmap_kring *kring, int flags) /* * 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 flags) 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 |