DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] app/test: fix PCI class probing
@ 2016-06-24 12:34 Thomas Monjalon
  2016-06-27 10:42 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Monjalon @ 2016-06-24 12:34 UTC (permalink / raw)
  To: Jan Viktorin; +Cc: dev

The PCI test was failing because some fake devices had no PCI class.

Fixes: 1dbba1650c89 ("app/test: remove real PCI ids")

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class | 1 +
 app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class
 create mode 100644 app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class

diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class b/app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class
new file mode 100644
index 0000000..22dd936
--- /dev/null
+++ b/app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class
@@ -0,0 +1 @@
+0x100000
diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class b/app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class
new file mode 100644
index 0000000..22dd936
--- /dev/null
+++ b/app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class
@@ -0,0 +1 @@
+0x100000
-- 
2.7.0

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

end of thread, other threads:[~2016-06-27 10:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-24 12:34 [dpdk-dev] [PATCH] app/test: fix PCI class probing Thomas Monjalon
2016-06-27 10:42 ` Thomas Monjalon

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).