summaryrefslogtreecommitdiff
path: root/examples/fips_validation
diff options
context:
space:
mode:
authorFan Zhang <roy.fan.zhang@intel.com>2019-01-15 10:36:38 +0000
committerThomas Monjalon <thomas@monjalon.net>2019-01-18 00:09:16 +0100
commit19f4fa70e8f1563755957b00d04df9aeb8348501 (patch)
treefe9515dcfc5058ccfb8484ff271bb1f1bd4e03ae /examples/fips_validation
parent9d8293e6226b51c571124e0e5bbf0573377669f7 (diff)
downloaddpdk-19f4fa70e8f1563755957b00d04df9aeb8348501.zip
dpdk-19f4fa70e8f1563755957b00d04df9aeb8348501.tar.gz
dpdk-19f4fa70e8f1563755957b00d04df9aeb8348501.tar.xz
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 <roy.fan.zhang@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Diffstat (limited to 'examples/fips_validation')
-rw-r--r--examples/fips_validation/fips_dev_self_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fips_validation/fips_dev_self_test.c b/examples/fips_validation/fips_dev_self_test.c
index 2c7e9d2..ac366cb 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;