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 635ECA0542; Sat, 8 Oct 2022 10:39:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51FBC42BB6; Sat, 8 Oct 2022 10:39:12 +0200 (CEST) Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mails.dpdk.org (Postfix) with ESMTP id D932842BAD for ; Sat, 8 Oct 2022 10:39:11 +0200 (CEST) Received: by mail-pj1-f51.google.com with SMTP id x1-20020a17090ab00100b001fda21bbc90so9138715pjq.3 for ; Sat, 08 Oct 2022 01:39:11 -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=NGgEguX7Mtjijsimpe3NMmFwMd5aUUtP+VoOzluPcsg=; b=Anb4jgVDuR0JIPq37A0U+ndAPPZCz+cHCOH49xNqlfr3p/OmmAvwhWbUxD+jh8c/Ud 2UwWPGfrv7flXGcK+kIV7tJoGLuYcmfuHcUNQSVjVMSbuwomIsqzmzLp8vSAJjk0Erv+ aWRImyl5Sfs9iThtLjvHLfzy+QL9bK/eIP5yPy3CvHENjmbaXP/+xL5X5pmLgGTIxlPQ lnh7mVz022k+qEeRWNW9x8Yjncpj5CC8vmrMrichlFtvkoBqJp0PMAd467+3vy+VB4Cp /a7BVDxbPqqQv82wi1D2X7GV1tftEvXzv9BrmWLm+C3iliRHQ/O+6h2MVp8ivrhcuAq3 NsHQ== 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=NGgEguX7Mtjijsimpe3NMmFwMd5aUUtP+VoOzluPcsg=; b=mIolDmCmrssAcp9KXJMXhf84sws5A9Bz5RfDqtc6mR5nivYBM6SrB2bvM4EuLhp/T9 NCFeXSnrSkr3p6upT4DsrVU/cPUAZWkKsvWslDrufywM9xiKGDKEpLHfVqPvflVNXs+n +eBAgNPotK2Oz+dobdepi7/cZo2tdNDkqMT6ECjBAhWWz9rrXWbHBK8ziMP4/rYWvqh1 +xhnxBDojPHxDFEs+GVUIpOZuIgqWF7IydHeObYR8uuXm4+Kf8k1VtE8wKeI75V7T/td cLVgAuKFFuThdHcir9n3sxqnnJP0Mi9z/1/uIBej6/0NdMXnBdQwCfA8nhS2mZlqJwlJ DKlA== X-Gm-Message-State: ACrzQf3FppGWPuyaRRhGnyIB5ppKCQAPcRyVig3Memflgptog+Biw4UR BTN+ZeLAhXtHnL5NIlK9MAouQg== X-Google-Smtp-Source: AMsMyM5IOCJgx1YZ+aj0pKe7+COZuAqPKzkU0Wk94qVit1/wT7bCPtbDpLpS/YqAeXqRHZUOt4m7ww== X-Received: by 2002:a17:902:dad2:b0:17f:8290:fce0 with SMTP id q18-20020a170902dad200b0017f8290fce0mr8696936plx.168.1665218351161; Sat, 08 Oct 2022 01:39:11 -0700 (PDT) Received: from localhost.localdomain ([194.5.48.65]) by smtp.gmail.com with ESMTPSA id n1-20020a17090a2bc100b0020a0571b354sm2644371pje.57.2022.10.08.01.39.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Oct 2022 01:39:10 -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 resend v3 6/6] test/crypto: add cryptodev_uadk_autotest Date: Sat, 8 Oct 2022 16:37:47 +0800 Message-Id: <20221008083747.6559-7-zhangfei.gao@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20221008083747.6559-1-zhangfei.gao@linaro.org> References: <20221008083747.6559-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 c6d47a035e..3449d41cf6 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -16427,6 +16427,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) { @@ -16770,6 +16776,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