git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaf8979
)
vhost: remove useless prefetch for packed ring descriptor
author
Maxime Coquelin
<maxime.coquelin@redhat.com>
Wed, 19 Dec 2018 08:21:13 +0000
(09:21 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:41 +0000
(16:22 +0100)
This prefetch does not show any performance improvement.
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Tiwei Bie <tiwei.bie@intel.com>
lib/librte_vhost/virtio_net.c
patch
|
blob
|
history
diff --git
a/lib/librte_vhost/virtio_net.c
b/lib/librte_vhost/virtio_net.c
index
a9be633
..
4d201a3
100644
(file)
--- 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;