Hi Arek, > -----Original Message----- > From: Kusztal, ArkadiuszX <arkadiuszx.kusz...@intel.com> > Sent: Monday, October 23, 2023 4:53 AM > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai <kai...@intel.com>; Power, Ciara > <ciara.po...@intel.com>; Kusztal, ArkadiuszX > <arkadiuszx.kusz...@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.kusz...@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.po...@intel.com>