[dpdk-dev] [PATCH v4] Test/crypto: check valid test_stats before running test

Akhil Goyal akhil.goyal at nxp.com
Sun May 17 16:09:05 CEST 2020


> 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.gupta at nxp.com>
> ---

Acked-by: Akhil Goyal <akhil.goyal at 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: stable at dpdk.org

    Signed-off-by: Apeksha Gupta <apeksha.gupta at nxp.com>

Applied to dpdk-next-crypto.

Thanks.


More information about the dev mailing list