Due to addition of CLASS_ID in EAL, class_id is
amended into the code.

Fixes: 701c8d80c820 ("pci: support class id probing")

Signed-off-by: Deepak Kumar Jain <deepak.k.jain at intel.com>
---
 drivers/crypto/qat/rte_qat_cryptodev.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/crypto/qat/rte_qat_cryptodev.c 
b/drivers/crypto/qat/rte_qat_cryptodev.c
index a7912f5..2bad201 100644
--- a/drivers/crypto/qat/rte_qat_cryptodev.c
+++ b/drivers/crypto/qat/rte_qat_cryptodev.c
@@ -72,7 +72,8 @@ static struct rte_pci_id pci_id_qat_map[] = {
                        .vendor_id = 0x8086,
                        .device_id = 0x0443,
                        .subsystem_vendor_id = PCI_ANY_ID,
-                       .subsystem_device_id = PCI_ANY_ID
+                       .subsystem_device_id = PCI_ANY_ID,
+                       .class_id  = 0xB4000
                },
                {.device_id = 0},
 };
-- 
2.5.5

Reply via email to