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

Maxime Coquelin maxime.coquelin at redhat.com
Wed May 16 12:54:42 CEST 2018



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.zhang at intel.com>
> ---
>   lib/librte_vhost/vhost_crypto.c | 201 ++++++++++++++++++++++++++--------------
>   1 file changed, 129 insertions(+), 72 deletions(-)


Applied to dpdk-next-virtio.

Thanks,
Maxime


More information about the dev mailing list