New upstream version 18.11-rc1
[deb_dpdk.git] / examples / ip_pipeline / main.c
index a69face..97d1e91 100644 (file)
@@ -14,6 +14,7 @@
 #include "cli.h"
 #include "conn.h"
 #include "kni.h"
+#include "cryptodev.h"
 #include "link.h"
 #include "mempool.h"
 #include "pipeline.h"
@@ -210,6 +211,14 @@ main(int argc, char **argv)
                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) {