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 32F81A054A; Fri, 23 Sep 2022 04:40:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2352541145; Fri, 23 Sep 2022 04:40:45 +0200 (CEST) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mails.dpdk.org (Postfix) with ESMTP id CF52041144 for ; Fri, 23 Sep 2022 04:40:43 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id w10so9660849pll.11 for ; Thu, 22 Sep 2022 19:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=BGcdQOc1bnJ2ZCqvNh3r1sScWnwCKajO19G5gE2o2RA=; b=rBWosu23giaYfXpcQ6KaxQBMsrycfqoKcRsro/VX1McFe4GPU5TrqBSBRo6dcget8m +Uuzyl3sxl43q58egqUpvALyQGuaiHUWsiwmS4X7i7n7nGcrYHf6fhmdDkLkj+p93u81 6RxbzTqlC0vS6H2F2oK8cmQsTwFTyL4r4lSVn3mm4lekGULx4mIqq0GSUkDhEh4WMEI2 LXjYxbMxGGfrXmWHkmPZAXw7kK0CHM7XNGA184ONuO0DZG98IO82TqbmJfq4680uHqVV LPKoKPos+CW0JMWUxEzN1ZogyLreuCmgHvMVPsGfLTHcGiWkVu7mVWxj42D5crWneN7B DKJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=BGcdQOc1bnJ2ZCqvNh3r1sScWnwCKajO19G5gE2o2RA=; b=5EHAy+piUglnPVirqXvTRYdqF2M1hmcWRhfUDsjBJ7MqxoTxmsuCNm26J403MwObyV AqnafwQMuYp0m+f598J5rfUKheWrEaDixXHFiO3yp1JBRwZHF6G0mwFlHtKIYoSTWoPR RyO+h3zcd0VKS+6TvYuLl8Ld/eyT0ozC4ku6TRZ1tkgPkrJ0IAx0H83+6NLlKuj8edWC jXW1QUZFjlPcQJ4NxlsI5f8c0GBUG7oelF6ysg/B+UHiHKiDtlmsyAsTxxXL7OUW+lW8 utjue4wdKxtZ53FtYLQSTNxJ6SuZO4haL2V9I5yTtAdoIA6dXXTRCy7lvJhyKKq8QqP+ e68A== X-Gm-Message-State: ACrzQf21uI4gxZLD/VIieGFwKgIGvMJAm+Mj2Jn6NREyxtE8axziI6xX WLg6rVjhwtA4qKDvVJqe84T7Ug== X-Google-Smtp-Source: AMsMyM4AKGb0Zpde8Mq4EQePFk3KR03llmQHSem0x2Ej1iGZR0EnK6r4Wruj29q0u/u90SqzNRW07g== X-Received: by 2002:a17:902:d2c8:b0:178:6f5b:f905 with SMTP id n8-20020a170902d2c800b001786f5bf905mr6181567plc.2.1663900843087; Thu, 22 Sep 2022 19:40:43 -0700 (PDT) Received: from localhost.localdomain ([199.101.192.56]) by smtp.gmail.com with ESMTPSA id t5-20020a625f05000000b0053e8940c4absm5075011pfb.209.2022.09.22.19.40.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Sep 2022 19:40:42 -0700 (PDT) From: Zhangfei Gao To: Akhil Goyal , Declan Doherty , Fan Zhang , Ashish Gupta , Ray Kinsella Cc: dev@dpdk.org, acc@openeuler.org, Zhangfei Gao Subject: [PATCH v2 1/5] test/crypto: add cryptodev_uadk_autotest Date: Fri, 23 Sep 2022 10:40:19 +0800 Message-Id: <20220923024023.15849-2-zhangfei.gao@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220923024023.15849-1-zhangfei.gao@linaro.org> References: <20220923024023.15849-1-zhangfei.gao@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=crypto_uadk --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 6ee4480399..7541cffd36 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -16580,6 +16580,12 @@ test_cryptodev_qat(void) return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_QAT_SYM_PMD)); } +static int +test_cryptodev_uadk(void) +{ + return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_UADK_PMD)); +} + static int test_cryptodev_virtio(void) { @@ -16923,6 +16929,7 @@ REGISTER_TEST_COMMAND(cryptodev_sw_mvsam_autotest, test_cryptodev_mrvl); REGISTER_TEST_COMMAND(cryptodev_dpaa2_sec_autotest, test_cryptodev_dpaa2_sec); REGISTER_TEST_COMMAND(cryptodev_dpaa_sec_autotest, test_cryptodev_dpaa_sec); REGISTER_TEST_COMMAND(cryptodev_ccp_autotest, test_cryptodev_ccp); +REGISTER_TEST_COMMAND(cryptodev_uadk_autotest, test_cryptodev_uadk); REGISTER_TEST_COMMAND(cryptodev_virtio_autotest, test_cryptodev_virtio); REGISTER_TEST_COMMAND(cryptodev_octeontx_autotest, test_cryptodev_octeontx); REGISTER_TEST_COMMAND(cryptodev_caam_jr_autotest, test_cryptodev_caam_jr); diff --git a/app/test/test_cryptodev.h b/app/test/test_cryptodev.h index 29a7d4db2b..abd795f54a 100644 --- a/app/test/test_cryptodev.h +++ b/app/test/test_cryptodev.h @@ -74,6 +74,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.36.1