git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
45f1b6e
)
app: update test pci device ids
author
Intel
<intel.com>
Wed, 19 Dec 2012 23:00:00 +0000
(
00:00
+0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 25 Jul 2013 13:54:18 +0000
(15:54 +0200)
Signed-off-by: Intel
app/test/test_pci.c
patch
|
blob
|
history
diff --git
a/app/test/test_pci.c
b/app/test/test_pci.c
index
a26d1ff
..
78996f5
100644
(file)
--- a/
app/test/test_pci.c
+++ b/
app/test/test_pci.c
@@
-44,7
+44,6
@@
#include "test.h"
#include "test.h"
-#define RTE_PCI_DEV_ID_DECL(vend, dev) {RTE_PCI_DEVICE(vend, dev)},
#define TEST_BLACKLIST_NUM 0x100
#define TEST_BLACKLIST_NUM 0x100
@@
-72,24
+71,20
@@
static int my_driver_init(struct rte_pci_driver *dr,
* drivers are created (one with IGB devices, the other with IXGBE devices).
*/
* drivers are created (one with IGB devices, the other with IXGBE devices).
*/
-/* IXGBE NICS + e1000 used for Qemu */
-#define RTE_LIBRTE_IXGBE_PMD 1
-#undef RTE_LIBRTE_IGB_PMD
+/* IXGBE NICS */
struct rte_pci_id my_driver_id[] = {
struct rte_pci_id my_driver_id[] = {
+#define RTE_PCI_DEV_ID_DECL_IXGBE(vend, dev) {RTE_PCI_DEVICE(vend, dev)},
#include <rte_pci_dev_ids.h>
#include <rte_pci_dev_ids.h>
-/* this device is the e1000 of qemu for testing */
-{RTE_PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x100E)},
-
{ .vendor_id = 0, /* sentinel */ },
};
struct rte_pci_id my_driver_id2[] = {
{ .vendor_id = 0, /* sentinel */ },
};
struct rte_pci_id my_driver_id2[] = {
-/* IGB NICS */
-#
undef RTE_LIBRTE_IXGBE_PMD
-#define RTE_
LIBRTE_IGB_PMD 1
+/* IGB
& EM
NICS */
+#
define RTE_PCI_DEV_ID_DECL_EM(vend, dev) {RTE_PCI_DEVICE(vend, dev)},
+#define RTE_
PCI_DEV_ID_DECL_IGB(vend, dev) {RTE_PCI_DEVICE(vend, dev)},
#define RTE_PCI_DEV_USE_82575EB_COPPER
#include <rte_pci_dev_ids.h>
#define RTE_PCI_DEV_USE_82575EB_COPPER
#include <rte_pci_dev_ids.h>