git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vhost: handle virtually non-contiguous buffers in Rx-mrg
[dpdk.git]
/
lib
/
librte_vhost
/
vhost.h
diff --git
a/lib/librte_vhost/vhost.h
b/lib/librte_vhost/vhost.h
index
f7dbd2c
..
ba2fc74
100644
(file)
--- a/
lib/librte_vhost/vhost.h
+++ b/
lib/librte_vhost/vhost.h
@@
-446,7
+446,7
@@
vhost_iova_to_vva(struct virtio_net *dev, struct vhost_virtqueue *vq,
uint64_t iova, uint64_t *len, uint8_t perm)
{
if (!(dev->features & (1ULL << VIRTIO_F_IOMMU_PLATFORM)))
uint64_t iova, uint64_t *len, uint8_t perm)
{
if (!(dev->features & (1ULL << VIRTIO_F_IOMMU_PLATFORM)))
- return rte_vhost_
gpa_to_vva(dev->mem, iova
);
+ return rte_vhost_
va_from_guest_pa(dev->mem, iova, len
);
return __vhost_iova_to_vva(dev, vq, iova, len, perm);
}
return __vhost_iova_to_vva(dev, vq, iova, len, perm);
}