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 14A18A0545; Mon, 20 Jun 2022 14:36:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F28F74281B; Mon, 20 Jun 2022 14:36:01 +0200 (CEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id B4F1E4281E for ; Mon, 20 Jun 2022 14:35:59 +0200 (CEST) Received: by mail-pl1-f178.google.com with SMTP id o18so2560192plg.2 for ; Mon, 20 Jun 2022 05:35:59 -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=0B4zTLZK49iqRoprF6qAADvlcvleOV0Nayxg0AidLGc=; b=Rq54jDSteGNjmww2k/dfAeWnkSCJz6ttcGWzEcNU65Pqja/lTzsuZwyfA/VtUwYHOA j52EJPo7Acmrr/vlNxubY7LiPUWjDTycvSnj71ABlDwgPaN2XjKPz0YCSydX6oPvDaqC xWcs4PSf/5hrwtP0RabhjHbVvtpL0Q17FAgVnBYdh6wC3wpvHYig5e5bZ54tti6uOb7W pidXFbUe4QiwdkzjWQ/dBzy66BtdytE0dwAG4F6RYs6Y114g04sEAe1u7n2W8wJqJsmM ea+SdaPEF4iHsWaA8WqBYlHd9qYsI45Lq2IIIHflIH28A4IVC2Xj1W7zWaygOwant3/O G62A== 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=0B4zTLZK49iqRoprF6qAADvlcvleOV0Nayxg0AidLGc=; b=DmHdkh48dbjFHeK5s/DTJ/6VFZrPGR0o94WqQSOEfJZiF0H5cTKz+3sRJCxwORNeoI PGtsSU5+FU1e15Tr9sJQUfC/EtFMtG3WMeGM7LcXb+GQ+eSEg2P98PWbXxNhXCC0AVM6 3r3Y5YbuAM6IKCtjQl4yfvzM0yfGXMVCesPoW8L3/5d7GyohE2m69EeysYWHpSuZlsPJ MjPa5Svqb9T2ZFnpt9jwP/8DF27zWBJxu2o4Rslt+glScLmv9G7TCMFSDwlFLJH66z3A cgem1Cojvb58IhVsXUienHEYCop4J6YHXcq6LUUlCHW1Ivr9FZftEmnkknTR/uXj74Nu cdjg== X-Gm-Message-State: AJIora/sxcjYQLgikYQCxcmCKkBrR9/24GrtBYj9fJzlotN0i7DUkipH OfOHR9zdCOhgrwx8dcmhTi8uPQ== X-Google-Smtp-Source: AGRyM1vIBdJ62YUVw5yTUEUN541KZFCFruPA8zsWQlfBrosKMXitIJOQmjytq2SHcuokB+LNVOKhGQ== X-Received: by 2002:a17:902:d583:b0:16a:29de:9dfb with SMTP id k3-20020a170902d58300b0016a29de9dfbmr3337773plh.44.1655728559008; Mon, 20 Jun 2022 05:35:59 -0700 (PDT) Received: from localhost.localdomain ([199.101.192.181]) by smtp.gmail.com with ESMTPSA id g10-20020a63be4a000000b0040c52ff0ba9sm6768967pgo.37.2022.06.20.05.35.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2022 05:35:58 -0700 (PDT) From: Zhangfei Gao To: Akhil Goyal , Declan Doherty , Fan Zhang , Ashish Gupta , Ray Kinsella Cc: dev@dpdk.org, Zhangfei Gao Subject: [PATCH 2/3] test/crypto: add cryptodev_uadk_autotest Date: Mon, 20 Jun 2022 20:35:43 +0800 Message-Id: <20220620123544.3168-3-zhangfei.gao@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220620123544.3168-1-zhangfei.gao@linaro.org> References: <20220620123544.3168-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 2766e0cc10..1aaadcc474 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -16307,6 +16307,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) { @@ -16650,6 +16656,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