> -----Original Message-----
> From: Power, Ciara <ciara.po...@intel.com>
> Sent: Monday, January 24, 2022 3:04 PM
> To: dev@dpdk.org
> Cc: Zhang, Roy Fan <roy.fan.zh...@intel.com>; gak...@marvell.com;
> ano...@marvell.com; m...@ashroe.eu; Power, Ciara
> <ciara.po...@intel.com>; Doherty, Declan <declan.dohe...@intel.com>
> Subject: [PATCH v2 4/4] crypto: 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.po...@intel.com>
> ---
Acked-by: Fan Zhang <roy.fan.zh...@intel.com>