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
/
load_balancer
/
init.c
diff --git
a/examples/load_balancer/init.c
b/examples/load_balancer/init.c
index
2f00a70
..
a300706
100644
(file)
--- a/
examples/load_balancer/init.c
+++ b/
examples/load_balancer/init.c
@@
-450,10
+450,6
@@
app_init_nics(void)
int ret;
uint32_t n_rx_queues, n_tx_queues;
- if (rte_eal_pci_probe() < 0) {
- rte_panic("Cannot probe PCI\n");
- }
-
/* Init NIC ports and queues, then start the ports */
for (port = 0; port < APP_MAX_NIC_PORTS; port ++) {
struct rte_mempool *pool;