git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples: do not probe pci twice
[dpdk.git]
/
examples
/
qos_meter
/
main.c
diff --git
a/examples/qos_meter/main.c
b/examples/qos_meter/main.c
index
b4b8c4f
..
c02ac50
100644
(file)
--- a/
examples/qos_meter/main.c
+++ b/
examples/qos_meter/main.c
@@
-386,9
+386,6
@@
MAIN(int argc, char **argv)
if (pool == NULL)
rte_exit(EXIT_FAILURE, "Buffer pool creation error\n");
- if (rte_eal_pci_probe() < 0)
- rte_exit(EXIT_FAILURE, "PCI probe error\n");
-
/* NIC init */
ret = rte_eth_dev_configure(port_rx, 1, 1, &port_conf);
if (ret < 0)