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
mempool: add non-IO flag
[dpdk.git]
/
app
/
test-sad
/
main.c
diff --git
a/app/test-sad/main.c
b/app/test-sad/main.c
index
b01e84c
..
1024757
100644
(file)
--- a/
app/test-sad/main.c
+++ b/
app/test-sad/main.c
@@
-617,7
+617,7
@@
main(int argc, char **argv)
{
int ret;
struct rte_ipsec_sad *sad;
{
int ret;
struct rte_ipsec_sad *sad;
- struct rte_ipsec_sad_conf conf;
+ struct rte_ipsec_sad_conf conf
= {0}
;
unsigned int lcore_id;
ret = rte_eal_init(argc, argv);
unsigned int lcore_id;
ret = rte_eal_init(argc, argv);
@@
-657,11
+657,11
@@
main(int argc, char **argv)
add_rules(sad, 10);
if (config.parallel_lookup)
add_rules(sad, 10);
if (config.parallel_lookup)
- rte_eal_mp_remote_launch(lookup, sad, SKIP_MA
STER
);
+ rte_eal_mp_remote_launch(lookup, sad, SKIP_MA
IN
);
lookup(sad);
if (config.parallel_lookup)
lookup(sad);
if (config.parallel_lookup)
- RTE_LCORE_FOREACH_
SLAVE
(lcore_id)
+ RTE_LCORE_FOREACH_
WORKER
(lcore_id)
if (rte_eal_wait_lcore(lcore_id) < 0)
return -1;
if (rte_eal_wait_lcore(lcore_id) < 0)
return -1;