[PATCH] cryptodev: clarify error codes returned
Akhil Goyal
gakhil at marvell.com
Tue May 16 12:43:08 CEST 2023
> Subject: [PATCH] cryptodev: clarify error codes returned
>
> When symmetric sessions are created, it may fail due to non-critical
> errors. When PMD doesn't support the specific combination that
> application requested, it can return -ENOTSUP which can be handled so in
> application. The API is already setting rte_errno according to the
> reason of the failure. Clarifying this in the spec to list down possible
> error codes.
>
> Fixes: bdce2564dbf7 ("cryptodev: rework session framework")
>
> Signed-off-by: Anoob Joseph <anoobj at marvell.com>
Acked-by: Akhil Goyal <gakhil at marvell.com>
More information about the dev
mailing list