> Test_stats is an optional cryptodev op and if it is not defined by the > PMD, it should not run the test cases for it. > > Signed-off-by: Apeksha Gupta <apeksha.gu...@nxp.com> > ---
Acked-by: Akhil Goyal <akhil.go...@nxp.com> Title and description of the patch updated as test/crypto: fix statistics case The test case - test_stats is directly accessing the cryptodev and its dev_ops which are internal to library and should not be used directly by the application. However, the test case is also missing to check for the error ENOTSUP. It should skip the case if the API returns ENOTSUP. This patch fixes these two issues. Fixes: 202d375c60bc ("app/test: add cryptodev unit and performance tests") Cc: sta...@dpdk.org Signed-off-by: Apeksha Gupta <apeksha.gu...@nxp.com> Applied to dpdk-next-crypto. Thanks.