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 EAC47A0584; Wed, 19 Oct 2022 15:04:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E7F8B42BC5; Wed, 19 Oct 2022 15:04:19 +0200 (CEST) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mails.dpdk.org (Postfix) with ESMTP id 00A0B42B91 for ; Wed, 19 Oct 2022 15:04:12 +0200 (CEST) Received: by mail-wr1-f44.google.com with SMTP id n12so28845428wrp.10 for ; Wed, 19 Oct 2022 06:04:12 -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 :message-id:reply-to; bh=Zz5xij+LBOqX4PQ/OtGfGeDyDTNkmJSMzuRvuXLN2Bk=; b=hJFl1zxYbI84RCidgU9NQd80SX0+qb/+bMwd/LMBSMHFAuUq7VTF3a537hQlzOh4vQ Xv84nHVy++W8r7eRimqQO4a54E5WoSXghwUtRas3twXHiCBvoAjYpiREytzOAuD9a0sX VR9v5QMk7lFL63GFMuVR8DhEmCfC3CFQ0RFo+Z5FhYuf7w1Th2VCMemCr16M7ANgvbwV e5fQ1ATrq5YsHYEg001LRnheXmzu69fVkCOuG2/qNgw+BwFQjO2dHCQMJSEa7IvxCUei r4ZJzdBITrvTV5Yl3+YiUfX4uYwWxXAKnZP1ZEeDjm5KgTRfY89jAZaz2nlbc+IDClpj ncdg== 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:message-id:reply-to; bh=Zz5xij+LBOqX4PQ/OtGfGeDyDTNkmJSMzuRvuXLN2Bk=; b=lzrDbrWpdvP2cLw7NyUHTMN+myxmfQYR0r6lU5yfy/pECMhoRlFmI+592uIXAUELG3 wq7YEG0i/L7GM/U/GSlXukF4JjOvHLxeNpxYfZS/41GCMsJVjy8vUO0WJ0v/AO4vEAqH k0M/gdkA8PotCc56h44upYGz3KA4hnUR1JoRdXCBYhgwch+r2QvR4ECq/v0iJGWJMMEQ qLA0l6tP09BouyQL+/cvb28UtXEp8zbTYrhptmKpC5yu+QQn3Kjvw6LBWuIQdn8fmKfy gOLbtE6uD7bi78I3V3RwIMA6w4hafkIqCL56X9Aa4IXyLS3kRIs0Qsdpou6weXxv093F h+sg== X-Gm-Message-State: ACrzQf2HIo+Eq31xUME2w/5dLij9aXvHyLyksmT2FjfAPhb4yz5QR0XE VtIT3nEWEkk3QoFFiwgT6HBUzA== X-Google-Smtp-Source: AMsMyM6I9DVRKCKWQOgb37azJKrCxH2tjT7BhJBjUonEftZzy9PZjYMQT3H/k8eptSpuhdpkYBWFpQ== X-Received: by 2002:adf:f04b:0:b0:22e:3a85:59bf with SMTP id t11-20020adff04b000000b0022e3a8559bfmr4873884wro.683.1666184652742; Wed, 19 Oct 2022 06:04:12 -0700 (PDT) Received: from localhost.localdomain ([213.146.143.36]) by smtp.gmail.com with ESMTPSA id b7-20020adfe307000000b0022cbf4cda62sm16807051wrj.27.2022.10.19.06.04.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Oct 2022 06:04:12 -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 v4 6/6] test/crypto: add cryptodev_uadk_autotest Date: Wed, 19 Oct 2022 20:57:53 +0800 Message-Id: <20221019125753.1700071-7-zhangfei.gao@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019125753.1700071-1-zhangfei.gao@linaro.org> References: <20221019125753.1700071-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 c2b33686ed..183e24f150 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -16467,6 +16467,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) { @@ -16810,6 +16816,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