[PATCH 1/3] event/cnxk: fix return values for capability API
Anoob Joseph
anoobj at marvell.com
Wed Aug 23 05:59:17 CEST 2023
>
> crypto adapter capability now returns -ENOTSUP instead of -EINVAL when
[Anoob] Better to start with caps (crypto -> Crypto). May be reword to,
When event_cnxk or crypto_cnxk PMDs are not available, return -ENOTSUP instead of -EINVAL.
> event_cnxk or crypto_cnxk device is not available. This would allow unit test
> to be skipped when the devices are not available.
>
> Fixes: 19f81cb59cb4 ("event/cnxk: add crypto adapter operations")
>
> Signed-off-by: Aakash Sasidharan <asasidharan at marvell.com>
> ---
> drivers/event/cnxk/cn10k_eventdev.c | 16 ++++++++--------
> drivers/event/cnxk/cn9k_eventdev.c | 16 ++++++++--------
> drivers/event/cnxk/cnxk_eventdev.h | 4 ++--
> 3 files changed, 18 insertions(+), 18 deletions(-)
With above change,
Acked-by: Anoob Joseph <anoobj at marvell.com>
More information about the dev
mailing list