[dpdk-stable] [PATCH 19.11] test/crypto: fix statistics case

Luca Boccassi bluca at debian.org
Wed Jun 3 19:31:23 CEST 2020


On Wed, 2020-06-03 at 18:47 +0530, Apeksha Gupta wrote:
> [ upstream commit 29fdc5bf4555e16e866188dd9fe95f9bab01404a ]
> 
> 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: stable at dpdk.org
> 
> Signed-off-by: Apeksha Gupta <apeksha.gupta at nxp.com>
> Acked-by: Akhil Goyal <akhil.goyal at nxp.com>
> ---
>  app/test/test_cryptodev.c | 13 ++++---------
>  1 file changed, 4 insertions(+), 9 deletions(-)

Thanks, applied and pushed.

-- 
Kind regards,
Luca Boccassi


More information about the stable mailing list