Hi Anoob, > -----Original Message----- > From: Anoob Joseph <ano...@marvell.com> > Sent: Monday 24 April 2023 10:19 > To: Akhil Goyal <gak...@marvell.com>; Fan Zhang > <fanzhang....@gmail.com> > Cc: Jerin Jacob <jer...@marvell.com>; dev@dpdk.org > 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 <ano...@marvell.com> > --- > lib/cryptodev/rte_cryptodev.h | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-)
Acked-by: Ciara Power <ciara.po...@intel.com>