[v2] symmetric crypto, set message field to zero in SGL case
Checks
Commit Message
Fixes: e09231eaa2af ("crypto/qat: add SGL capability")
Cc: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Cc: stable@dpdk.org
Signed-off-by: Gosia Bakota <gosia.bakota@intel.com>
---
v2 changes
-remove file mode change
drivers/crypto/qat/qat_sym.c | 2 ++
1 file changed, 2 insertions(+)
Comments
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Gosia Bakota
> Sent: Wednesday, June 12, 2019 6:32 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH v2] symmetric crypto, set message field to zero in SGL case
>
> Fixes: e09231eaa2af ("crypto/qat: add SGL capability")
> Cc: Arek Kusztal <arkadiuszx.kusztal@intel.com>
> Cc: stable@dpdk.org
>
> Signed-off-by: Gosia Bakota <gosia.bakota@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
> > Fixes: e09231eaa2af ("crypto/qat: add SGL capability")
> > Cc: Arek Kusztal <arkadiuszx.kusztal@intel.com>
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Gosia Bakota <gosia.bakota@intel.com>
> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
No need to add " Cc: Arek Kusztal <arkadiuszx.kusztal@intel.com>" in commit message.
Also changes the subject as that of your v1. Please take care of this in future.
Applied to dpdk-next-crypto
Thanks
@@ -530,6 +530,8 @@ qat_sym_build_request(void *in_op, uint8_t *out_msg,
qat_req->comn_mid.dest_data_addr =
cookie->qat_sgl_dst_phys_addr;
}
+ qat_req->comn_mid.src_length = 0;
+ qat_req->comn_mid.dst_length = 0;
} else {
qat_req->comn_mid.src_data_addr = src_buf_start;
qat_req->comn_mid.dest_data_addr = dst_buf_start;