From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 93E1AA04FD; Mon, 23 May 2022 10:23:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B7CB7427F0; Mon, 23 May 2022 10:22:56 +0200 (CEST) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mails.dpdk.org (Postfix) with ESMTP id 2CD1740222 for ; Fri, 20 May 2022 13:32:08 +0200 (CEST) Received: by mail-wr1-f46.google.com with SMTP id k30so11105307wrd.5 for ; Fri, 20 May 2022 04:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Py/i2YMGI+FkIjuIMjkwfCz+4Oqv7RM/xBZl+Yf2/n4=; b=HraNN7i/lSYVob6GLomD+9JugzdNHlqwxfPqYkVYaVqyHEVYrhCsOTGbxqOKS4kWiy O1oJPEJpCRAjiseC68j9g+No0M5XLYlH6HABMqxDBK7YQtKsSi12jjKa9txcDTvH2V3W CsCo4Z3DRnryhxXekWFDm4kJrKcH7YtbvuUYK+a21Ujvc8YFqstbPMQYU1DTzaBzunaI sf8nm5hSs7gNLsCXHgiDBfgC0L4LMZTzwdActezP39HkqRRbSL1fPF9XEudKEmBnd+k2 wU8Kwv6pGQzPiZKETPGdHOo73/Nl3wuSwVbfnTN17KQqD0fqWFuiEvHypHRIv+b/xLx5 70pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Py/i2YMGI+FkIjuIMjkwfCz+4Oqv7RM/xBZl+Yf2/n4=; b=to0iTExUBHu5DwMYTI2SEBw55x0kVP2i3uDtWNbodoQo9x+dltFLkf5ObuG7I/YXhe 7jamBpFYX0L1Vg1rpaZqzHCbLg+J+WO60JQNzXuQDKTVHcJw8/4H7ksCE6TFdLTASh2v Uevrl0yAx5gv6bttyqkrYhB77IuBzkcRgP29zG24iEfaYahoPUBOf6/pCOk46MOQf2Zk nEBBSp/m+hr6ftVjCTw7WBby+CyQKJvaBvl3kR64v77As1l4VyHV23j+vOIEtIf+burS uUMacQqtmje4liQMg/Isvm9wz7xcxdKeDVzB4AMdRSg7qQtX3x3ZIn24wvT2Evz0G9H3 ffXA== X-Gm-Message-State: AOAM533rtQ8zXNwDr8+eujQ38+Pk+sUsQijtVGdeBh9qRAUG6o0QP88H KFS0vqOnCjCv50F0XCn+pyy/Lw== X-Google-Smtp-Source: ABdhPJz6ZClRe0I7yjK2t0a3NEEyIxVtikY+2hZB8skEUvjP7mFyB3Cla/r+j17XuoIpogPW9LTJVQ== X-Received: by 2002:adf:f1ce:0:b0:20c:d569:d2eb with SMTP id z14-20020adff1ce000000b0020cd569d2ebmr7960643wro.440.1653046327950; Fri, 20 May 2022 04:32:07 -0700 (PDT) Received: from localhost.localdomain ([213.146.143.36]) by smtp.gmail.com with ESMTPSA id m10-20020a7bca4a000000b003972e136b8asm1828080wml.15.2022.05.20.04.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 04:32:07 -0700 (PDT) From: Zhangfei Gao To: Akhil Goyal , Declan Doherty , Fan Zhang , Ashish Gupta , Ray Kinsella Cc: dev@dpdk.org, Zhangfei Gao Subject: [PATCH RFC 2/3] test/crypto: add cryptodev_uadk_autotest Date: Fri, 20 May 2022 19:31:53 +0800 Message-Id: <20220520113154.7164-3-zhangfei.gao@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220520113154.7164-1-zhangfei.gao@linaro.org> References: <20220520113154.7164-1-zhangfei.gao@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 23 May 2022 10:22:54 +0200 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Example: sudo dpdk-test --vdev=0000:76:00.0 --log-level=6 RTE>>cryptodev_uadk_autotest RTE>>quit Signed-off-by: Zhangfei Gao --- app/test/test_cryptodev.c | 7 +++++++ app/test/test_cryptodev.h | 1 + 2 files changed, 8 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 10b48cdadb..b413807d2b 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -15445,6 +15445,12 @@ test_cryptodev_mlx5(void) return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_MLX5_PMD)); } +static int +test_cryptodev_uadk(void) +{ + return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_UADK_PMD)); +} + static int test_cryptodev_null(void) { @@ -15722,6 +15728,7 @@ REGISTER_TEST_COMMAND(cryptodev_aesni_gcm_autotest, test_cryptodev_aesni_gcm); REGISTER_TEST_COMMAND(cryptodev_cpu_aesni_gcm_autotest, test_cryptodev_cpu_aesni_gcm); REGISTER_TEST_COMMAND(cryptodev_mlx5_autotest, test_cryptodev_mlx5); +REGISTER_TEST_COMMAND(cryptodev_uadk_autotest, test_cryptodev_uadk); REGISTER_TEST_COMMAND(cryptodev_null_autotest, test_cryptodev_null); REGISTER_TEST_COMMAND(cryptodev_sw_snow3g_autotest, test_cryptodev_sw_snow3g); REGISTER_TEST_COMMAND(cryptodev_sw_kasumi_autotest, test_cryptodev_sw_kasumi); diff --git a/app/test/test_cryptodev.h b/app/test/test_cryptodev.h index 90c8287365..1f2a20e84e 100644 --- a/app/test/test_cryptodev.h +++ b/app/test/test_cryptodev.h @@ -75,6 +75,7 @@ #define CRYPTODEV_NAME_CN9K_PMD crypto_cn9k #define CRYPTODEV_NAME_CN10K_PMD crypto_cn10k #define CRYPTODEV_NAME_MLX5_PMD crypto_mlx5 +#define CRYPTODEV_NAME_UADK_PMD crypto_uadk enum cryptodev_api_test_type { -- 2.25.1