On 05/10/2018 05:41 PM, Fan Zhang wrote:
This patch enables the handling of buffers non-contiguous in virtual address space in the vhost_crypto. Instead of using rte_vhost_va_from_guest_pa(), the host virtual address is converted by vhost_iova_to_vva() for wider use cases. For copy mode, the copy length is limited to the chunck size, next chuncks VAs being fetched afterward. Signed-off-by: Fan Zhang<roy.fan.zh...@intel.com> --- lib/librte_vhost/vhost_crypto.c | 201 ++++++++++++++++++++++++++-------------- 1 file changed, 129 insertions(+), 72 deletions(-)
Applied to dpdk-next-virtio. Thanks, Maxime