s new gigantic page,
vhost needs to scan IOTLB_CACHE_SIZE - 1 for each translation at worst.
Signed-off-by: Eugenio Pérez
Reported-by: Pei Zhang
---
lib/vhost/vhost_user.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/vhost/vhost_user.c b/lib/vhost/vhost_user.c
index 29a4c9af60..7de48
obtained the expected (count) packets. If it
happens to obtain "count" packets and there is no more available
packets the caller needs to keep call virtio_dev_tx_packed again.
Signed-off-by: Eugenio Pérez
---
lib/librte_vhost/virtio_net.c | 27 ++-
1 file c
(libtsan.so.0+0x2a68d)
--
As a consequence, the two threads can modify the same entry of the mempool.
Usually, this cause a loop in iotlb_pending_entries list.
Fixes: d012d1f293f4 ("vhost: add IOTLB helper functions")
Signed-off-by: Eugenio Pérez
---
lib/librte_vhost/iotlb.c | 3 +--
ever, I have not
found why I cannot see the issue in split, so the safer option is to never set
it.
Any comments?
Thanks!
Eugenio Pérez (1):
vhost: fix iotlb mempool single-consumer flag
lib/librte_vhost/iotlb.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--
2.18.1
ned-off-by: Eugenio Pérez
---
lib/librte_vhost/iotlb.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/librte_vhost/iotlb.c b/lib/librte_vhost/iotlb.c
index 5b3a0c090..e0b67721b 100644
--- a/lib/librte_vhost/iotlb.c
+++ b/lib/librte_vhost/iotlb.c
@@ -321,8 +321,7 @@ vhost_user_
commit message to not to include all trace and commands.
Eugenio Pérez (1):
vhost: fix iotlb mempool single-consumer flag
lib/librte_vhost/iotlb.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--
2.18.1
6 matches
Mail list logo