[PATCH v1] common/qat: fix qat_dev_cmd_param corruption

Power, Ciara ciara.power at intel.com
Thu Jun 8 15:08:51 CEST 2023



> -----Original Message-----
> From: Vikash Poddar <vikash.chandrax.poddar at intel.com>
> Sent: Tuesday 23 May 2023 10:07
> To: Ji, Kai <kai.ji at intel.com>
> Cc: dev at dpdk.org; Poddar, Vikash ChandraX
> <vikash.chandrax.poddar at intel.com>; Kusztal, ArkadiuszX
> <arkadiuszx.kusztal at intel.com>
> Subject: [PATCH v1] common/qat: fix qat_dev_cmd_param corruption
> 
> Adding fix to address the memory corruption issue for qat_dev_cmd_param
> structure on QAT GEN3.
> 
> This fix aligns the storage where it stores the value on 4 byte unsigned
> integer data type after reading slice configuration of QAT capabilities.
> 
> Fixes: b3cbbcdffa4f ("common/qat: read HW slice configuration")
> Cc: arkadiuszx.kusztal at intel.com
> 
> Signed-off-by: Vikash Poddar <vikash.chandrax.poddar at intel.com>
> ---
<snip>

Acked-by: Ciara Power <ciara.power at intel.com>


More information about the dev mailing list