[dpdk-dev] [PATCH v3] drivers/qat: fix failure to create PMD

Cel, TomaszX tomaszx.cel at intel.com
Thu Oct 11 19:27:49 CEST 2018


> -----Original Message-----
> From: Trahe, Fiona
> Sent: Thursday, October 11, 2018 7:14 PM
> To: dev at dpdk.org
> Cc: akhil.goyal at nxp.com; stable at dpdk.org; Jozwiak, TomaszX
> <tomaszx.jozwiak at intel.com>; Cel, TomaszX <tomaszx.cel at intel.com>;
> Trahe, Fiona <fiona.trahe at 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: stable at dpdk.org
> 
> Signed-off-by: Fiona Trahe <fiona.trahe at 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.cel at intel.com>


More information about the dev mailing list