Re: [dpdk-dev] [PATCH] vhost/crypto: handle virtually non-contiguous buffers

2018-05-16 Thread Maxime Coquelin
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 c

Re: [dpdk-dev] [PATCH] vhost/crypto: handle virtually non-contiguous buffers

2018-05-16 Thread Maxime Coquelin
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 c

[dpdk-dev] [PATCH] vhost/crypto: handle virtually non-contiguous buffers

2018-05-10 Thread Fan Zhang
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, nex