crypto/qat: set message field to zero in sym SGL case
Fixes: e09231eaa2
("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>
This commit is contained in:
parent
a1f42a9dd7
commit
22606a96e9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user