numam-dpdk/app
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
..
dumpcap build: cleanup libpcap dependent components 2021-11-10 11:42:34 +01:00
pdump remove unnecessary null checks 2022-02-12 12:07:48 +01:00
proc-info fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test cryptodev: modify return value for asym session create 2022-02-12 10:26:39 +01:00
test-acl fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test-bbdev app/bbdev: use compiler atomics for shared data sync 2021-11-17 11:07:06 +01:00
test-cmdline devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-compress-perf fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test-crypto-perf cryptodev: modify return value for asym session create 2022-02-12 10:26:39 +01:00
test-eventdev fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test-fib app/fib: fix division by zero 2022-02-11 08:50:13 +01:00
test-flow-perf fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test-gpudev gpudev: expose GPU memory to CPU 2022-02-10 10:06:56 +01:00
test-pipeline app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
test-pmd app/testpmd: support GRE option flow item 2022-02-11 16:51:59 +01:00
test-regex remove unnecessary null checks 2022-02-12 12:07:48 +01:00
test-sad devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
meson.build build: make pdump optional 2021-11-17 12:49:19 +01:00