git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1f42a9
)
crypto/qat: set message field to zero in sym SGL case
author
Gosia Bakota
<gosia.bakota@intel.com>
Wed, 12 Jun 2019 17:31:41 +0000
(18:31 +0100)
committer
Akhil Goyal
<akhil.goyal@nxp.com>
Fri, 5 Jul 2019 12:52:25 +0000
(14:52 +0200)
Fixes:
e09231eaa2af
("crypto/qat: add SGL capability")
Cc: stable@dpdk.org
Signed-off-by: Gosia Bakota <gosia.bakota@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/qat/qat_sym.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/qat/qat_sym.c
b/drivers/crypto/qat/qat_sym.c
index
8801ca5
..
7515a55
100644
(file)
--- a/
drivers/crypto/qat/qat_sym.c
+++ b/
drivers/crypto/qat/qat_sym.c
@@
-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;