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

Akhil Goyal akhil.goyal at nxp.com
Tue Oct 16 16:37:29 CEST 2018



On 10/11/2018 10:57 PM, Cel, TomaszX wrote:
>> -----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>
Applied to dpdk-next-crypto

Thanks


More information about the dev mailing list