X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=blobdiff_plain;f=examples%2Ffips_validation%2Fmain.c;h=384b7a2407fb82659ef83e3c929c35d652c2aed3;hp=e7559c63366d235b8c62fc0fb64d327135c9a6b3;hb=725d2a7fbf717d9a6189ac9b49bad2b4f5391a60;hpb=11fdbf1b78660e058a059b02504065935b9ff730 diff --git a/examples/fips_validation/main.c b/examples/fips_validation/main.c index e7559c6336..384b7a2407 100644 --- a/examples/fips_validation/main.c +++ b/examples/fips_validation/main.c @@ -39,7 +39,7 @@ static int cryptodev_fips_validate_app_int(void) { struct rte_cryptodev_config conf = {rte_socket_id(), 1}; - struct rte_cryptodev_qp_conf qp_conf = {128}; + struct rte_cryptodev_qp_conf qp_conf = {128, NULL, NULL}; int ret; ret = rte_cryptodev_configure(env.dev_id, &conf); @@ -52,7 +52,7 @@ cryptodev_fips_validate_app_int(void) return ret; ret = rte_cryptodev_queue_pair_setup(env.dev_id, 0, &qp_conf, - rte_socket_id(), env.mpool); + rte_socket_id()); if (ret < 0) return ret;