DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] qat: fix for VFs not getting recognized
@ 2016-06-16 15:29 Jain, Deepak K
  2016-06-16 16:15 ` Thomas Monjalon
  0 siblings, 1 reply; 7+ messages in thread
From: Jain, Deepak K @ 2016-06-16 15:29 UTC (permalink / raw)
  To: dev; +Cc: john.griffin, pablo.de.lara.guarch, declan.doherty, Jain, Deepak K

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@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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-06-20 12:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-16 15:29 [dpdk-dev] [PATCH] qat: fix for VFs not getting recognized Jain, Deepak K
2016-06-16 16:15 ` Thomas Monjalon
2016-06-16 16:25   ` Jain, Deepak K
2016-06-17  8:18     ` Thomas Monjalon
2016-06-17  9:42       ` Jerin Jacob
2016-06-20 12:59         ` Thomas Monjalon
2016-06-17  9:49       ` Jain, Deepak K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).