Hi Anoob, > -----Original Message----- > From: Anoob Joseph <[email protected]> > Sent: Monday 24 April 2023 10:19 > To: Akhil Goyal <[email protected]>; Fan Zhang > <[email protected]> > Cc: Jerin Jacob <[email protected]>; [email protected] > 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 <[email protected]> > --- > lib/cryptodev/rte_cryptodev.h | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-)
Acked-by: Ciara Power <[email protected]>

