From: Maxime Coquelin Date: Wed, 19 Dec 2018 08:21:13 +0000 (+0100) Subject: vhost: remove useless prefetch for packed ring descriptor X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=815814c4ff67572e3f3b46ae584e032474eeda4f;p=dpdk.git vhost: remove useless prefetch for packed ring descriptor This prefetch does not show any performance improvement. Signed-off-by: Maxime Coquelin Acked-by: Michael S. Tsirkin Acked-by: Tiwei Bie --- diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index a9be633deb..4d201a3fd2 100644 --- a/lib/librte_vhost/virtio_net.c +++ b/lib/librte_vhost/virtio_net.c @@ -1437,8 +1437,6 @@ virtio_dev_tx_packed(struct virtio_net *dev, struct vhost_virtqueue *vq, { uint16_t i; - rte_prefetch0(&vq->desc_packed[vq->last_avail_idx]); - if (unlikely(dev->dequeue_zero_copy)) { struct zcopy_mbuf *zmbuf, *next;