Re: [dpdk-dev] [PATCH] crypto/virtio: fix iv physical address

2018-06-14 Thread Zhoujian (jay)
Hi Akhil, > -Original Message- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Thursday, June 14, 2018 8:39 PM > To: Fan Zhang ; dev@dpdk.org > Cc: pablo.de.lara.gua...@intel.com; Zhoujian (jay) ; > sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] crypto/vi

Re: [dpdk-dev] [PATCH] crypto/virtio: fix iv physical address

2018-06-14 Thread Zhoujian (jay)
Hi Fan, > -Original Message- > From: Fan Zhang [mailto:roy.fan.zh...@intel.com] > Sent: Thursday, June 14, 2018 7:03 PM > To: dev@dpdk.org > Cc: pablo.de.lara.gua...@intel.com; Zhoujian (jay) ; > sta...@dpdk.org > Subject: [PATCH] crypto/virtio: fix iv physical address > > The physical ad

Re: [dpdk-dev] [PATCH] crypto/virtio: fix iv physical address

2018-06-14 Thread Akhil Goyal
On 6/14/2018 4:32 PM, Fan Zhang wrote: The physical address of IV required by Virtio was computed using crypto operations' physical address plus the offset. However not all crypto ops will have physical address field initialized and compute it runtimely is costly. This patch fixes this problem by

[dpdk-dev] [PATCH] crypto/virtio: fix iv physical address

2018-06-14 Thread Fan Zhang
The physical address of IV required by Virtio was computed using crypto operations' physical address plus the offset. However not all crypto ops will have physical address field initialized and compute it runtimely is costly. This patch fixes this problem by adding iv field in virtio_crypto_op_cook