Skip to content

vHost IOTLB cache rework

David Marchand dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest4 patches 14 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4vhost: fix vq use after free on NUMA reallocationlib/vhost/vhost_user.c+1 -08 replies
2/4vhost: make NUMA reallocation code more robustlib/vhost/vhost_user.c+66 -781 reply
3/4vhost: keep a reference to virtqueue indexlib/vhost/iotlb.c lib/vhost/iotlb.h lib/vhost/vhost.c +3 more+91 -1232 replies
4/4vhost: stop using mempool for IOTLB cachelib/vhost/iotlb.c lib/vhost/iotlb.h lib/vhost/vhost.c +1 more+67 -422 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMaxime Coquelin
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] vHost IOTLB cache rework

This series aim was initially to solve a scalability issue with the IOTLB cache code. But along the way, I tried to make the code a bit more robust by unifying how the device and virtqueue are passed around.

Signature · 18 lines
David Marchand

David Marchand (4):
  vhost: fix vq use after free on numa reallocation
  vhost: make numa reallocation code more robust
  vhost: keep a reference to virtqueue index
  vhost: stop using mempool for IOTLB cache

 lib/vhost/iotlb.c      | 105 +++++++++++++++-----------
 lib/vhost/iotlb.h      |   3 +-
 lib/vhost/vhost.c      |  74 +++++++-----------
 lib/vhost/vhost.h      |   7 +-
 lib/vhost/vhost_user.c | 167 +++++++++++++++++++----------------------
 lib/vhost/virtio_net.c |  86 ++++++++++-----------
 6 files changed, 212 insertions(+), 230 deletions(-)

-- 
2.36.1