RE: [PATCH] common/qat: fix undefined initial slice

2022-11-07 Thread Akhil Goyal
> Acked-by: Kai Ji > You should reply in the bottom. > > Subject: [PATCH] common/qat: fix undefined initial slice > > > > This commit fixes undefined initial value of slice capability. > > When unset it could lead to undefined read of capability due to stack fram

RE: [PATCH] common/qat: fix undefined initial slice

2022-11-07 Thread Ji, Kai
Acked-by: Kai Ji > -Original Message- > From: Kusztal, ArkadiuszX > Sent: Monday, November 7, 2022 9:24 AM > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; Kusztal, ArkadiuszX > > Subject: [PATCH] common/qat: fix undefined initial slice > > This com

[PATCH] common/qat: fix undefined initial slice

2022-11-07 Thread Arek Kusztal
This commit fixes undefined initial value of slice capability. When unset it could lead to undefined read of capability due to stack frame picked values, is should therefore be set to 0. Fixes: b3cbbcdffa4f ("common/qat: read HW slice configuration") Signed-off-by: Arek Kusztal --- drivers/comm