[PATCH v2] common/qat: limit configuration to the primary process
Power, Ciara
ciara.power at intel.com
Fri Oct 27 16:16:32 CEST 2023
Hi Arek,
> -----Original Message-----
> From: Kusztal, ArkadiuszX <arkadiuszx.kusztal at intel.com>
> Sent: Monday, October 23, 2023 4:53 AM
> To: dev at dpdk.org
> Cc: gakhil at marvell.com; Ji, Kai <kai.ji at intel.com>; Power, Ciara
> <ciara.power at intel.com>; Kusztal, ArkadiuszX
> <arkadiuszx.kusztal at intel.com>
> 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 <arkadiuszx.kusztal at intel.com>
> ---
> 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 <ciara.power at intel.com>
More information about the dev
mailing list