numam-dpdk/app/test-crypto-perf
Ciara Power 757f40e28e cryptodev: modify return value for asym session create
Rather than the asym session create function returning a session on
success, and a NULL value on error, it is modified to now return int
values - 0 on success or -EINVAL/-ENOTSUP/-ENOMEM on failure.
The session to be used is passed as input.

This adds clarity on the failure of the create function, which enables
treating the -ENOTSUP return as TEST_SKIPPED in test apps.

Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
2022-02-12 10:26:39 +01:00
..
configs app/crypto-perf: add script to graph perf results 2021-01-27 19:03:52 +01:00
data cryptodev: add auth IV 2017-07-06 22:26:48 +02:00
cperf_ops.c cryptodev: modify return value for asym session create 2022-02-12 10:26:39 +01:00
cperf_ops.h app/crypto-perf: support lookaside IPsec 2021-10-18 20:12:19 +02:00
cperf_options_parsing.c app/crypto-perf: increase segment size for IPsec 2021-11-23 20:48:04 +01:00
cperf_options.h app/crypto-perf: support lookaside IPsec 2021-10-18 20:12:19 +02:00
cperf_test_common.c test/crypto-perf: fix memory allocation in asym case 2021-11-04 19:46:27 +01:00
cperf_test_common.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cperf_test_latency.c remove unnecessary null checks 2022-02-12 12:07:48 +01:00
cperf_test_latency.h app/crypto-perf: use separate session mempools 2019-01-10 16:57:22 +01:00
cperf_test_pmd_cyclecount.c remove unnecessary null checks 2022-02-12 12:07:48 +01:00
cperf_test_pmd_cyclecount.h app/crypto-perf: use separate session mempools 2019-01-10 16:57:22 +01:00
cperf_test_throughput.c cryptodev: use single mempool for asymmetric session 2022-02-12 10:26:39 +01:00
cperf_test_throughput.h app/crypto-perf: use separate session mempools 2019-01-10 16:57:22 +01:00
cperf_test_vector_parsing.c remove unnecessary null checks 2022-02-12 12:07:48 +01:00
cperf_test_vector_parsing.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cperf_test_vectors.c test/crypto-perf: fix memory allocation in asym case 2021-11-04 19:46:27 +01:00
cperf_test_vectors.h test/crypto-perf: fix memory allocation in asym case 2021-11-04 19:46:27 +01:00
cperf_test_verify.c remove unnecessary null checks 2022-02-12 12:07:48 +01:00
cperf_test_verify.h app/crypto-perf: use separate session mempools 2019-01-10 16:57:22 +01:00
cperf.h app/crypto-perf: use separate session mempools 2019-01-10 16:57:22 +01:00
dpdk-graph-crypto-perf.py app/crypto-perf: fix handling of config parameters 2021-02-04 19:21:27 +01:00
main.c cryptodev: add asymmetric session user data API 2022-02-12 10:26:39 +01:00
meson.build devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00