From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20066.outbound.protection.outlook.com [40.107.2.66]) by dpdk.org (Postfix) with ESMTP id 3ED9F6904 for ; Mon, 8 Oct 2018 14:56:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=otjDq/cP+fkR17N6NinlhEiYzalATDFVFcA3YGfYjRE=; b=vx/zBq5Fa212LxVCm7gIwfG2Wov2LPg903H7HNeyQeMdJrzD6SOeOh8LZSKVIRMoYLyqX+d/osDlm5yb889DBvRF0G6MQkbOMJ9vgGDOcLZjKsQkQlHW3yD1wstJ/u1iG7iK6BEzRCKahIFdNbL9lDXN8DrTSMVJRq5L2/iemQo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [10.232.134.144] (14.143.30.134) by AM0PR04MB4882.eurprd04.prod.outlook.com (2603:10a6:208:c5::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.28; Mon, 8 Oct 2018 12:56:20 +0000 From: Akhil Goyal To: Anoob Joseph , Pablo de Lara , Thomas Monjalon Cc: Ankur Dwivedi , Jerin Jacob , Narayana Prasad , dev@dpdk.org, Murthy NSSR , Nithin Dabilpuram , Ragothaman Jayaraman , Srisivasubramanian S , Tejasree Kondoj References: <1536033560-21541-1-git-send-email-ajoseph@caviumnetworks.com> <1538744363-30340-1-git-send-email-anoob.joseph@caviumnetworks.com> <1538744363-30340-32-git-send-email-anoob.joseph@caviumnetworks.com> <407d40a1-1ac6-3a28-dfcb-aaf3f1829182@nxp.com> Message-ID: <95fa1c3a-3117-6b03-9444-feee6fac4e41@nxp.com> Date: Mon, 8 Oct 2018 18:26:10 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <407d40a1-1ac6-3a28-dfcb-aaf3f1829182@nxp.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: BMXPR01CA0048.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::34) To AM0PR04MB4882.eurprd04.prod.outlook.com (2603:10a6:208:c5::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6ed6c5d3-9524-4ff9-e4b4-08d62d1d7377 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4882; X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4882; 3:OqgtLBv3lzQvEJH0j6pxjyWR82JLdUEmc6z6h90HE67iZUqOOzcsVb9FGPTMmY5FBF8XaFwXB4bZjr9tff0yuLQ4f7YR7+uSPYsZE4Jj8pwmjB+hSh7+jP6ZIFLNcOoUi56puSIJPeimBjBPDGqFeXuK5lHjeLAzFH26iEgih0yAoeU1fzMBnxxI+xJpAwhQR5O8ep/ryFQHyhL2EOFllKZNZAZhExa+1h6MKuTx5sMcVlc9x2hFJaiiCPz7N8EX; 25:xfDrkIGgdJFptyFnJcgweXwU3gkglNZlUhjXnzGo2kMpu0lrL5F+h+V3tnzPvlav4eo9Dl/7T0aDZ4o3Rebnd6286YJ3JyFP1cfB9IY+CrSnAmrMrSE9awgT5paun09Yvg0rC6IomOxfmsRXICQbOki6hl+Vr39T5WSyoB5se3MlGOfxHx+a0dqyLGGu/21GTfQafvW6TaLHhlQYjRtnztaCyeQJca7ozfH25aDbkko9nRpgtAcOZYRYszdbEo+Blhgqyapbxzvmf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+WtSroL7hZTlZwdNNT6SYrB+w4uL3mMHzwbc7APzURX7vjNm/Y0KV1J5oQg9UNvkHp5FQrnqAmRPQgnNAazn+djmgFy2WrbERA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(149066)(150057)(6041310)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(201708071742011)(7699051)(76991055); SRVR:AM0PR04MB4882; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4882; X-Forefront-PRVS: 081904387B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(396003)(39860400002)(346002)(366004)(376002)(136003)(189003)(199004)(93886005)(67846002)(5009440100003)(68736007)(58126008)(52146003)(2486003)(81166006)(76176011)(8676002)(23676004)(81156014)(110136005)(316002)(97736004)(54906003)(8936002)(186003)(77096007)(16576012)(16526019)(26005)(2906002)(52116002)(55236004)(53546011)(386003)(478600001)(53936002)(446003)(3846002)(25786009)(11346002)(3260700006)(6116002)(106356001)(31686004)(105586002)(956004)(2616005)(476003)(44832011)(229853002)(50466002)(486006)(64126003)(4326008)(2870700001)(7416002)(5660300001)(31696002)(7736002)(86362001)(305945005)(65806001)(6666003)(36756003)(47776003)(65826007)(66066001)(6246003)(65956001)(6486002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4882; H:[10.232.134.144]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTBQUjA0TUI0ODgyOzIzOkZiK1JaM2pkdG50aG04Y2VHajJGbEhsdGV1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82vYinLUzwM6ajkwyTYdGavMuUBKQp7lqLZmapyMKJnccCNtEImWyGfHyj3cueUP6j5Auss0NGt3lmpcqS/VcWcUBOzQwdKtuYiw2m19S7LbR+aZs6wcp4crzEveKXV34qkAfrapnOS56mVc1sIQf/cp5icjKckeyR+WD1dGfXcbrCGGMVpQMrLOBPQGDdJ7FAbGfebwRkIkLrpsbP+uTjQ7Ub0R2tViriabOlvOWnLNe2xvt1RxBIo81eGWgfHWIza2RB0YEAF99XWmjA==; 5:p78NPJ/u9J0qEILYlS7QrWAWleFQjzeGp5xwZlr//rqmi9NUktY8Jrp1HmL9o7OE2XVk/vkkhQnBePyHy+gbIWQHMjovxyIdHpR7akI8PiAWTXE3QBdVa4iU1IaIorvRKvN7dxdp+4iEqiKd0ELk8tHuSftsbz7XxJIRqbpCdnc=; 7:sepWPVVNv+/Hj/2uE5sJIXDYnTJRpBKyVmUeAJhyTnStv4W7jqu/VS9It0OTxbC8N8qWZpTx8Ie9U15dGQ6zt0Eq7dTUvRmZrhlC11df2Ove2Cam38MmUjT7xvGlTXF8pk2I2dam4/fH3/jPRN8Cuk9fqRZ0n4bKA0NZywA/XYvRLl7whDaRfOTmJgBQM2QWg+BNTHd5u3QRm39+BZJaAdkucuPlqBnFooO9BXWTa+bnavXIDEloxqaxELaoZDQY SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2018 12:56:20.9980 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6ed6c5d3-9524-4ff9-e4b4-08d62d1d7377 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4882 Subject: Re: [dpdk-dev] [PATCH v3 31/32] test: adds validation test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2018 12:56:24 -0000 one more... title should be test/crypto: add octeontx unit tests On 10/8/2018 6:03 PM, Akhil Goyal wrote: > > Hi Anoob, > > On 10/5/2018 6:29 PM, Anoob Joseph wrote: >> From: Ankur Dwivedi >> >> This patch adds validation tests for octeontx crypto device. >> >> Signed-off-by: Ankur Dwivedi >> Signed-off-by: Anoob Joseph >> Signed-off-by: Murthy NSSR >> Signed-off-by: Nithin Dabilpuram >> Signed-off-by: Ragothaman Jayaraman >> Signed-off-by: Srisivasubramanian S >> Signed-off-by: Tejasree Kondoj >> --- >>   test/test/meson.build                        |   1 + >>   test/test/test_cryptodev.c                   | 316 >> +++++++++++++++++++++++++++ >>   test/test/test_cryptodev.h                   |   1 + >>   test/test/test_cryptodev_aes_test_vectors.h  | 114 ++++++---- >>   test/test/test_cryptodev_blockcipher.c       |   9 +- >>   test/test/test_cryptodev_blockcipher.h       |   1 + >>   test/test/test_cryptodev_des_test_vectors.h  |  12 +- >>   test/test/test_cryptodev_hash_test_vectors.h |  78 ++++--- >>   8 files changed, 463 insertions(+), 69 deletions(-) >> >> diff --git a/test/test/meson.build b/test/test/meson.build >> index b1dd6ec..2d59041 100644 >> --- a/test/test/meson.build >> +++ b/test/test/meson.build >> @@ -141,6 +141,7 @@ test_names = [ >>       'cryptodev_sw_mvsam_autotest', >>       'cryptodev_dpaa2_sec_autotest', >>       'cryptodev_dpaa_sec_autotest', >> +    'cryptodev_octeontx_autotest', >>       'cycles_autotest', >>       'debug_autotest', >>       'devargs_autotest', >> diff --git a/test/test/test_cryptodev.c b/test/test/test_cryptodev.c >> index c63662d..b9731b9 100644 >> --- a/test/test/test_cryptodev.c >> +++ b/test/test/test_cryptodev.c >> @@ -2142,6 +2142,96 @@ test_3DES_cipheronly_mrvl_all(void) >>       return TEST_SUCCESS; >>   } >>   +static int >> +test_AES_chain_cpt_all(void) >> +{ >> +    struct crypto_testsuite_params *ts_params = &testsuite_params; >> +    int status; >> + >> +    status = test_blockcipher_all_tests(ts_params->mbuf_pool, >> +        ts_params->op_mpool, ts_params->session_mpool, >> +        ts_params->valid_devs[0], >> +        rte_cryptodev_driver_id_get( >> +        RTE_STR(CRYPTODEV_NAME_OCTEONTX_SYM_PMD)), >> +        BLKCIPHER_AES_CHAIN_TYPE); >> + >> +    TEST_ASSERT_EQUAL(status, 0, "Test failed"); >> + >> +    return TEST_SUCCESS; >> +} >> + >> +static int >> +test_AES_cipheronly_cpt_all(void) >> +{ >> +    struct crypto_testsuite_params *ts_params = &testsuite_params; >> +    int status; >> + >> +    status = test_blockcipher_all_tests(ts_params->mbuf_pool, >> +        ts_params->op_mpool, ts_params->session_mpool, >> +        ts_params->valid_devs[0], >> +        rte_cryptodev_driver_id_get( >> +        RTE_STR(CRYPTODEV_NAME_OCTEONTX_SYM_PMD)), >> +        BLKCIPHER_AES_CIPHERONLY_TYPE); >> + >> +    TEST_ASSERT_EQUAL(status, 0, "Test failed"); >> + >> +    return TEST_SUCCESS; >> +} >> + >> +static int >> +test_3DES_chain_cpt_all(void) >> +{ >> +    struct crypto_testsuite_params *ts_params = &testsuite_params; >> +    int status; >> + >> +    status = test_blockcipher_all_tests(ts_params->mbuf_pool, >> +        ts_params->op_mpool, ts_params->session_mpool, >> +        ts_params->valid_devs[0], >> +        rte_cryptodev_driver_id_get( >> +        RTE_STR(CRYPTODEV_NAME_OCTEONTX_SYM_PMD)), >> +        BLKCIPHER_3DES_CHAIN_TYPE); >> + >> +    TEST_ASSERT_EQUAL(status, 0, "Test failed"); >> + >> +    return TEST_SUCCESS; >> +} >> + >> +static int >> +test_3DES_cipheronly_cpt_all(void) >> +{ >> +    struct crypto_testsuite_params *ts_params = &testsuite_params; >> +    int status; >> + >> +    status = test_blockcipher_all_tests(ts_params->mbuf_pool, >> +        ts_params->op_mpool, ts_params->session_mpool, >> +        ts_params->valid_devs[0], >> +        rte_cryptodev_driver_id_get( >> +        RTE_STR(CRYPTODEV_NAME_OCTEONTX_SYM_PMD)), >> +        BLKCIPHER_3DES_CIPHERONLY_TYPE); >> + >> +    TEST_ASSERT_EQUAL(status, 0, "Test failed"); >> + >> +    return TEST_SUCCESS; >> +} >> + >> +static int >> +test_authonly_cpt_all(void) >> +{ >> +    struct crypto_testsuite_params *ts_params = &testsuite_params; >> +    int status; >> + >> +    status = test_blockcipher_all_tests(ts_params->mbuf_pool, >> +        ts_params->op_mpool, ts_params->session_mpool, >> +        ts_params->valid_devs[0], >> +        rte_cryptodev_driver_id_get( >> +        RTE_STR(CRYPTODEV_NAME_OCTEONTX_SYM_PMD)), >> +        BLKCIPHER_AUTHONLY_TYPE); >> + >> +    TEST_ASSERT_EQUAL(status, 0, "Test failed"); >> + >> +    return TEST_SUCCESS; >> +} >> + >>   /* ***** SNOW 3G Tests ***** */ >>   static int >>   create_wireless_algo_hash_session(uint8_t dev_id, >> @@ -9951,6 +10041,216 @@ static struct unit_test_suite >> cryptodev_ccp_testsuite  = { >>       } >>   }; >>   +static struct unit_test_suite cryptodev_cpt_testsuite  = { > Shouldn't this be cryptodev_octeontx_testsuite and for other functions > as well? > I believe cpt is helper API set, and main PMD is octeontx, so the test > shall also have octeontx reference. > > Thanks, > Akhil