Re: [dpdk-dev] [PATCH] vhost/crypto: fix incorrect copy

2018-10-30 Thread Maxime Coquelin
Hi Fan, The patch is quite complex. Is there any chance it could be split in multiple parts to ease reviewing? I have found one possible bug, see below: On 10/24/18 3:18 PM, Fan Zhang wrote: This patch fixes the incorrect packet content copy in the chaining operation in the copy mode. Original

[dpdk-dev] [PATCH] vhost/crypto: fix incorrect copy

2018-10-24 Thread Fan Zhang
This patch fixes the incorrect packet content copy in the chaining operation in the copy mode. Originally the content before cipher offset is overwritten by all zeros. This patch fixes the problem by: 1. Instead of allocating 2 mbufs for each virtio crypto data request in copy and zero-copy modes