From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP; 16 Jun 2016 08:29:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,480,1459839600"; d="scan'208";a="829350061" Received: from sie-lab-214-241.ir.intel.com (HELO silpixa00382162.ir.intel.com) ([10.237.214.241]) by orsmga003.jf.intel.com with ESMTP; 16 Jun 2016 08:29:12 -0700 From: "Jain, Deepak K" To: dev@dpdk.org Cc: john.griffin@intel.com, pablo.de.lara.guarch@intel.com, declan.doherty@intel.com, "Jain, Deepak K" Date: Thu, 16 Jun 2016 16:29:10 +0100 Message-Id: <1466090950-12231-1-git-send-email-deepak.k.jain@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dpdk-dev] [PATCH] qat: fix for VFs not getting recognized X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 15:29:15 -0000 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