From: Fan Zhang Date: Tue, 15 Jan 2019 10:36:38 +0000 (+0000) Subject: examples/fips_validation: fix session private mempool X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=19f4fa70e8f1563755957b00d04df9aeb8348501;p=dpdk.git examples/fips_validation: fix session private mempool This patch fixes the incorrect session private mempool passing to cryptodev. Fixes: 41d561cbdd24 ("examples/fips_validation: add power on self test") Signed-off-by: Fan Zhang Acked-by: Pablo de Lara --- diff --git a/examples/fips_validation/fips_dev_self_test.c b/examples/fips_validation/fips_dev_self_test.c index 2c7e9d2416..ac366cbacf 100644 --- a/examples/fips_validation/fips_dev_self_test.c +++ b/examples/fips_validation/fips_dev_self_test.c @@ -1449,7 +1449,7 @@ run_single_test(uint8_t dev_id, return -ENOMEM; ret = rte_cryptodev_sym_session_init(dev_id, - sess, &xform, env->sess_pool); + sess, &xform, env->sess_priv_pool); if (ret < 0) { RTE_LOG(ERR, PMD, "Error %i: Init session\n", ret); return ret;