From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jain, Deepak K" Subject: [PATCH] qat: fix for VFs not getting recognized Date: Thu, 16 Jun 2016 16:29:10 +0100 Message-ID: <1466090950-12231-1-git-send-email-deepak.k.jain@intel.com> Cc: john.griffin@intel.com, pablo.de.lara.guarch@intel.com, declan.doherty@intel.com, "Jain, Deepak K" To: dev@dpdk.org Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 109EDCBA2 for ; Thu, 16 Jun 2016 17:29:14 +0200 (CEST) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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