[PATCH] cryptodev: clarify error codes returned

Akhil Goyal gakhil at marvell.com
Wed May 24 12:59:36 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>

Cc: stable at dpdk.org

Applied to dpdk-next-crypto

Thanks


More information about the stable mailing list