Hi Arek,
> -----Original Message-----
> From: Kusztal, ArkadiuszX <[email protected]>
> Sent: Monday, October 23, 2023 4:53 AM
> To: [email protected]
> Cc: [email protected]; Ji, Kai <[email protected]>; Power, Ciara
> <[email protected]>; Kusztal, ArkadiuszX
> <[email protected]>
> Subject: [PATCH v2] common/qat: limit configuration to the primary process
>
> This change prevents certain configuration functions from being called by the
> secondary process.
>
> Signed-off-by: Arkadiusz Kusztal <[email protected]>
> ---
> v2:
> - fixed incorrect function call
> - rephrased comments
>
> drivers/common/qat/qat_device.c | 115 +++++++++++++++++++++++-------
<snip>
> + NOT_NULL(ops_hw->qat_dev_get_slice_map, goto error,
> + "QAT internal error! Reset ring pairs function not set, gen :
Small thing: this log message should be for get slice map function not set
> %d",
> + qat_dev_gen);
> + if (ops_hw->qat_dev_get_slice_map(&qat_dev->slice_map, pci_dev) <
> 0) {
<snip>
Acked-by: Ciara Power <[email protected]>