This patchset incorporates support for adding and removal of memory regions to vhost-user back-end from a virtio front end and the corresponsing supporting functions. The max number of regions supported has also been increased from 8 to 128. This has been extensively tested with multiple instances of fio when running with spdk and qemu performing add/removal of memory regions to vhost testpmd.
Pravin M Bathija (6): vhost: add define for configure mem slot virtio: increase number of mem regions to 128 vhost: hdr file changes for add/remove mem regions vhost: add/remove memory region function defines vhost: support functions for memory region ops vhost: changes to function set_mem_table .mailmap | 1 + drivers/net/virtio/virtio_user/vhost_user.c | 2 +- lib/vhost/rte_vhost.h | 4 + lib/vhost/vhost_user.c | 333 +++++++++++++++++--- lib/vhost/vhost_user.h | 12 +- 5 files changed, 306 insertions(+), 46 deletions(-) -- 2.43.0

