X-Git-Url: https://gerrit.fd.io/r/gitweb?p=deb_dpdk.git;a=blobdiff_plain;f=examples%2Fipsec-secgw%2Fipsec-secgw.c;h=5d04eb3feb14f7a0d3b3d8d7f5e370ef85ff8871;hp=1ca144b883946239f5c8c5b39c6f919bf4942811;hb=7b53c036e6bf56623b8273018ff1c8cc62847857;hpb=5d4e5dcd8a186778b3d78e27c81550d07a288fd2 diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c index 1ca144b8..5d04eb3f 100644 --- a/examples/ipsec-secgw/ipsec-secgw.c +++ b/examples/ipsec-secgw/ipsec-secgw.c @@ -1273,6 +1273,10 @@ cryptodevs_init(void) &qp_conf, dev_conf.socket_id)) rte_panic("Failed to setup queue %u for " "cdev_id %u\n", 0, cdev_id); + + if (rte_cryptodev_start(cdev_id)) + rte_panic("Failed to start cryptodev %u\n", + cdev_id); } printf("\n");