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
/
multi_process
/
client_server_mp
/
mp_server
/
init.c
diff --git
a/examples/multi_process/client_server_mp/mp_server/init.c
b/examples/multi_process/client_server_mp/mp_server/init.c
index
a84d1ee
..
30518c0
100644
(file)
--- a/
examples/multi_process/client_server_mp/mp_server/init.c
+++ b/
examples/multi_process/client_server_mp/mp_server/init.c
@@
-66,7
+66,6
@@
#include <rte_cycles.h>
#include "common.h"
#include <rte_cycles.h>
#include "common.h"
-#include "init_drivers.h"
#include "args.h"
#include "init.h"
#include "main.h"
#include "args.h"
#include "init.h"
#include "main.h"
@@
-308,11
+307,6
@@
init(int argc, char *argv[])
argc -= retval;
argv += retval;
argc -= retval;
argv += retval;
- /* initialise the nic drivers */
- retval = init_drivers();
- if (retval != 0)
- rte_exit(EXIT_FAILURE, "Cannot initialise drivers\n");
-
/* get total number of ports */
total_ports = rte_eth_dev_count();
/* get total number of ports */
total_ports = rte_eth_dev_count();