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
raw/ifpga: add APIs to get FPGA information
[dpdk.git]
/
examples
/
ip_pipeline
/
main.c
diff --git
a/examples/ip_pipeline/main.c
b/examples/ip_pipeline/main.c
index
a69face
..
c4aba39
100644
(file)
--- a/
examples/ip_pipeline/main.c
+++ b/
examples/ip_pipeline/main.c
@@
-14,6
+14,7
@@
#include "cli.h"
#include "conn.h"
#include "kni.h"
#include "cli.h"
#include "conn.h"
#include "kni.h"
+#include "cryptodev.h"
#include "link.h"
#include "mempool.h"
#include "pipeline.h"
#include "link.h"
#include "mempool.h"
#include "pipeline.h"
@@
-210,6
+211,14
@@
main(int argc, char **argv)
return status;
}
return status;
}
+ /* Sym Crypto */
+ status = cryptodev_init();
+ if (status) {
+ printf("Error: Cryptodev initialization failed (%d)\n",
+ status);
+ return status;
+ }
+
/* Action */
status = port_in_action_profile_init();
if (status) {
/* Action */
status = port_in_action_profile_init();
if (status) {
@@
-241,7
+250,7
@@
main(int argc, char **argv)
rte_eal_mp_remote_launch(
thread_main,
NULL,
rte_eal_mp_remote_launch(
thread_main,
NULL,
- SKIP_MA
STER
);
+ SKIP_MA
IN
);
/* Script */
if (app.script_name)
/* Script */
if (app.script_name)