> -----Original Message----- > From: Trahe, Fiona > Sent: Thursday, October 11, 2018 7:14 PM > To: dev@dpdk.org > Cc: akhil.go...@nxp.com; sta...@dpdk.org; Jozwiak, TomaszX > <tomaszx.jozw...@intel.com>; Cel, TomaszX <tomaszx....@intel.com>; > Trahe, Fiona <fiona.tr...@intel.com> > Subject: [PATCH v3] drivers/qat: fix failure to create PMD > > If QAT crypto pmd failed to be created due to reaching MAX cryptodevs it > prevented QAT comp PMD being created. And vice versa. > Change to warning in these cases and allow the other PMD to be created. > > Fixes: c0c90bc4cade ("compress/qat: add create and destroy functions") > Cc: sta...@dpdk.org > > Signed-off-by: Fiona Trahe <fiona.tr...@intel.com> > --- > v3 changes: > - moved checks up a layer to the probe fn as more appropriate place. > > v2 changes: > - clarified documentation > > drivers/common/qat/qat_device.c | 33 ++++++++++++++++++++++--------- > -- > 1 file changed, 22 insertions(+), 11 deletions(-)
Acked-by: Tomasz Cel <tomaszx....@intel.com>