Re: [dpdk-dev] [PATCH v2] examples/vhost_crypto: fix zero copy

2018-11-16 Thread Ferruh Yigit
On 11/16/2018 10:48 AM, Maxime Coquelin wrote: > > > On 11/14/18 12:16 PM, Fan Zhang wrote: >> This patch fixes the zero copy enable problem for vhost crypto >> sample application. >> >> For some Crypto PMDs such as AESNI-MB and AESNI-GCM the data to >> be processed will be made a copy in the sam

Re: [dpdk-dev] [PATCH v2] examples/vhost_crypto: fix zero copy

2018-11-16 Thread Maxime Coquelin
On 11/14/18 12:16 PM, Fan Zhang wrote: This patch fixes the zero copy enable problem for vhost crypto sample application. For some Crypto PMDs such as AESNI-MB and AESNI-GCM the data to be processed will be made a copy in the same buffer but next to the data. For example, to encrypt 64 bytes

[dpdk-dev] [PATCH v2] examples/vhost_crypto: fix zero copy

2018-11-14 Thread Fan Zhang
This patch fixes the zero copy enable problem for vhost crypto sample application. For some Crypto PMDs such as AESNI-MB and AESNI-GCM the data to be processed will be made a copy in the same buffer but next to the data. For example, to encrypt 64 bytes data the PMD will copy this data from offset