From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0064.outbound.protection.outlook.com [104.47.36.64]) by dpdk.org (Postfix) with ESMTP id 2A72C1DB9 for ; Mon, 30 Apr 2018 13:22:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=O/5iih+essIzB259n8mNtQNV6aGvNHRzS1EJ3Q/Va/c=; b=odiBMSfy83p+Bm9eOtU21eUHrWRg4We/L44oYWr5JjNIcG0PP8W56n34ey1j6XMC+79K8/9X9MqFFkKwX6qjzPHUMdPaG9y/XwI4VhnCdNz5Ov7hJrKTCBAUGI/+Uqc25ZXAggsZhOCGPXRpOINVTWVas78ojKy2ZNJ9Mm5OLgs= Received: from BN3PR0701MB1140.namprd07.prod.outlook.com (10.160.114.153) by BN3PR0701MB1672.namprd07.prod.outlook.com (10.163.39.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.18; Mon, 30 Apr 2018 11:22:01 +0000 Received: from BN3PR0701MB1140.namprd07.prod.outlook.com ([fe80::f1db:d448:56f7:5e32]) by BN3PR0701MB1140.namprd07.prod.outlook.com ([fe80::f1db:d448:56f7:5e32%8]) with mapi id 15.20.0715.023; Mon, 30 Apr 2018 11:22:00 +0000 From: "Kudupudi, Ugendreshwar" To: "Trahe, Fiona" , "users@dpdk.org" Thread-Topic: OpenSSL Crypto PMD Fails Thread-Index: AdPcmKDuSdbl3ARsREaArnsySieYQQBeHg6wAAAQ9LAAADlRQACYOqbw Date: Mon, 30 Apr 2018 11:22:00 +0000 Message-ID: References: <348A99DA5F5B7549AA880327E580B4358938E8F4@IRSMSX101.ger.corp.intel.com> <348A99DA5F5B7549AA880327E580B4358938E931@IRSMSX101.ger.corp.intel.com> In-Reply-To: <348A99DA5F5B7549AA880327E580B4358938E931@IRSMSX101.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Ugendreshwar.Kudupudi@cavium.com; x-originating-ip: [115.113.156.2] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BN3PR0701MB1672; 7:yV3On02gwJCNTHFzmZ49AL6W/XRC7tj6UurxkFoB/tyI6efNLswOMYZbQBaOItWnxwaORCRKwlimubsmSiMqbw16C1w1O6DQMuF5jiryXLyQiWgpUM4Xzj+xX7AKTVkn63e/wbQBDe6AW3DKeK9QsAGCTeYmy/0kmglT5dWvbf5B4PzRtFEZBHVuzNGq++Iss/rI2aCTw2a2KUg3U0q3ReMxEdaiwP8ey7Gjh+HkWJdLsXHMYYelBeN8fu+wlnNg x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BN3PR0701MB1672; x-ms-traffictypediagnostic: BN3PR0701MB1672: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231254)(944501410)(52105095)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:BN3PR0701MB1672; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1672; x-forefront-prvs: 0658BAF71F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39850400004)(366004)(396003)(39380400002)(346002)(376002)(199004)(189003)(13464003)(14454004)(26005)(6436002)(105586002)(2501003)(5250100002)(74316002)(478600001)(33656002)(5660300001)(25786009)(229853002)(966005)(97736004)(66066001)(486006)(3660700001)(476003)(305945005)(2900100001)(11346002)(68736007)(72206003)(446003)(2906002)(106356001)(3280700002)(110136005)(6246003)(3480700004)(8936002)(55016002)(93886005)(9686003)(81166006)(53936002)(53946003)(7696005)(186003)(6306002)(99286004)(316002)(81156014)(86362001)(76176011)(3846002)(8676002)(7736002)(53546011)(102836004)(6506007)(6116002)(59450400001)(55236004)(579004); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1672; H:BN3PR0701MB1140.namprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: VE3QYvKBBEm3s8nddcSw0QsE4dt71CuceMqg0BdaFUhueawA+ifi3vMJdOHPlygcQUy5wtLou1Qg6+ku7/ftasrj7tQiRFZ8y+W4Baz/yrdqkeewtZxHkBirJnHa1tqn5uycg0d6XzyUaqsJHjARiyyzciVKSgAuBAWKeIHiz0jswrNYqSXwKZkXQDVnNPjJ spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 22640a68-7f32-4274-d2be-08d5ae8c97e5 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-Network-Message-Id: 22640a68-7f32-4274-d2be-08d5ae8c97e5 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2018 11:22:00.9087 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1672 X-Mailman-Approved-At: Tue, 01 May 2018 10:45:52 +0200 Subject: Re: [dpdk-users] OpenSSL Crypto PMD Fails X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 11:22:05 -0000 Following is the log of autotest and l2fwd-crypto. RTE>>cryptodev_openssl_autotest + ------------------------------------------------------- + + Test Suite : Crypto Device OPENSSL Unit Test Suite + ------------------------------------------------------- + + TestCase [ 0] : test_multi_session succeeded + TestCase [ 1] : test_multi_session_random_usage succeeded 0) TestCase AES-128-CTR HMAC-SHA1 Encryption Digest PASS 1) TestCase AES-128-CTR HMAC-SHA1 Decryption Digest Verify PASS 2) TestCase AES-256-CTR HMAC-SHA1 Encryption Digest PASS 3) TestCase AES-256-CTR HMAC-SHA1 Decryption Digest Verify PASS 4) TestCase AES-128-CBC HMAC-SHA1 Encryption Digest PASS 5) TestCase AES-128-CBC HMAC-SHA1 Encryption Digest Scatter Gather PASS 6) TestCase AES-128-CBC HMAC-SHA1 Decryption Digest Verify PASS 7) TestCase AES-128-CBC HMAC-SHA256 Encryption Digest PASS 8) TestCase AES-128-CBC HMAC-SHA256 Decryption Digest Verify PASS 9) TestCase AES-128-CBC HMAC-SHA512 Encryption Digest PASS 10) TestCase AES-128-CBC HMAC-SHA512 Encryption Digest Sessionless PASS 11) TestCase AES-128-CBC HMAC-SHA512 Encryption Digest Scatter Gather Ses= sionless PASS 12) TestCase AES-128-CBC HMAC-SHA512 Decryption Digest Verify PASS 13) TestCase AES-128-CBC HMAC-SHA512 Decryption Digest Verify Scatter Gat= her PASS 14) TestCase AES-128-CBC HMAC-SHA1 Encryption Digest OOP PASS 15) TestCase AES-128-CBC HMAC-SHA1 Decryption Digest Verify OOP PASS 16) TestCase AES-128-CBC HMAC-SHA224 Encryption Digest PASS 17) TestCase AES-128-CBC HMAC-SHA224 Decryption Digest Verify PASS 18) TestCase AES-128-CBC HMAC-SHA384 Encryption Digest PASS 19) TestCase AES-128-CBC HMAC-SHA384 Decryption Digest Verify PASS 20) TestCase AES-128-CBC HMAC-SHA1 Encryption Digest Sessionless PASS 21) TestCase AES-128-CBC HMAC-SHA1 Decryption Digest Verify Sessionless P= ASS + TestCase [ 2] : test_AES_chain_openssl_all succeeded 0) TestCase AES-128-CBC Encryption PASS 1) TestCase AES-128-CBC Decryption PASS 2) TestCase AES-192-CBC Encryption PASS 3) TestCase AES-192-CBC Encryption Scater gather PASS 4) TestCase AES-192-CBC Decryption PASS 5) TestCase AES-256-CBC Encryption PASS 6) TestCase AES-256-CBC Decryption PASS 7) TestCase AES-256-CBC OOP Encryption PASS 8) TestCase AES-256-CBC OOP Decryption PASS 9) TestCase AES-128-CTR Encryption PASS 10) TestCase AES-128-CTR Decryption PASS 11) TestCase AES-192-CTR Encryption PASS 12) TestCase AES-192-CTR Decryption PASS 13) TestCase AES-256-CTR Encryption PASS 14) TestCase AES-256-CTR Decryption PASS + TestCase [ 3] : test_AES_cipheronly_openssl_all succeeded 0) TestCase 3DES-128-CBC HMAC-SHA1 Encryption Digest PASS 1) TestCase 3DES-128-CBC HMAC-SHA1 Decryption Digest Verify PASS 2) TestCase 3DES-128-CBC SHA1 Encryption Digest PASS 3) TestCase 3DES-128-CBC SHA1 Decryption Digest Verify PASS 4) TestCase 3DES-192-CBC HMAC-SHA1 Encryption Digest PASS 5) TestCase 3DES-192-CBC HMAC-SHA1 Decryption Digest Verify PASS 6) TestCase 3DES-192-CBC SHA1 Encryption Digest PASS 7) TestCase 3DES-192-CBC SHA1 Decryption Digest Verify PASS 8) TestCase 3DES-128-CTR HMAC-SHA1 Encryption Digest PASS 9) TestCase 3DES-128-CTR HMAC-SHA1 Decryption Digest Verify PASS 10) TestCase 3DES-128-CTR SHA1 Encryption Digest PASS 11) TestCase 3DES-128-CTR SHA1 Decryption Digest Verify PASS 12) TestCase 3DES-192-CTR HMAC-SHA1 Encryption Digest PASS 13) TestCase 3DES-192-CTR HMAC-SHA1 Decryption Digest Verify PASS 14) TestCase 3DES-192-CTR SHA1 Encryption Digest PASS 15) TestCase 3DES-192-CTR SHA1 Decryption Digest Verify PASS 16) TestCase 3DES-128-CBC HMAC-SHA1 Encryption Digest OOP PASS 17) TestCase 3DES-128-CBC HMAC-SHA1 Decryption Digest Verify OOP PASS 18) TestCase 3DES-128-CBC HMAC-SHA1 Encryption Digest Sessionless PASS 19) TestCase 3DES-128-CBC HMAC-SHA1 Decryption Digest Verify Sessionless = PASS + TestCase [ 4] : test_3DES_chain_openssl_all succeeded 0) TestCase 3DES-128-CBC Encryption PASS 1) TestCase 3DES-128-CBC Decryption PASS 2) TestCase 3DES-192-CBC Encryption PASS 3) TestCase 3DES-192-CBC Decryption PASS 4) TestCase 3DES-128-CTR Encryption PASS 5) TestCase 3DES-128-CTR Decryption PASS 6) TestCase 3DES-192-CTR Encryption PASS 7) TestCase 3DES-192-CTR Decryption PASS + TestCase [ 5] : test_3DES_cipheronly_openssl_all succeeded 0) TestCase DES-CBC Encryption PASS 1) TestCase DES-CBC Decryption PASS + TestCase [ 6] : test_DES_cipheronly_openssl_all succeeded 0) TestCase DES-DOCSIS-BPI Full Block Encryption PASS 1) TestCase DES-DOCSIS-BPI Runt Block Encryption PASS 2) TestCase DES-DOCSIS-BPI Uneven Encryption PASS 3) TestCase DES-DOCSIS-BPI Full Block Decryption PASS 4) TestCase DES-DOCSIS-BPI Runt Block Decryption PASS 5) TestCase DES-DOCSIS-BPI Uneven Decryption PASS 6) TestCase DES-DOCSIS-BPI OOP Full Block Encryption PASS 7) TestCase DES-DOCSIS-BPI OOP Runt Block Encryption PASS 8) TestCase DES-DOCSIS-BPI OOP Uneven Encryption PASS 9) TestCase DES-DOCSIS-BPI OOP Full Block Decryption PASS 10) TestCase DES-DOCSIS-BPI OOP Runt Block Decryption PASS 11) TestCase DES-DOCSIS-BPI OOP Uneven Decryption PASS + TestCase [ 7] : test_DES_docsis_openssl_all succeeded 0) TestCase MD5 Digest PASS 1) TestCase MD5 Digest Verify PASS 2) TestCase HMAC-MD5 Digest PASS 3) TestCase HMAC-MD5 Digest Verify PASS 4) TestCase SHA1 Digest PASS 5) TestCase SHA1 Digest Verify PASS 6) TestCase HMAC-SHA1 Digest PASS 7) TestCase HMAC-SHA1 Digest Verify PASS 8) TestCase SHA224 Digest PASS 9) TestCase SHA224 Digest Verify PASS 10) TestCase HMAC-SHA224 Digest PASS 11) TestCase HMAC-SHA224 Digest Verify PASS 12) TestCase SHA256 Digest PASS 13) TestCase SHA256 Digest Verify PASS 14) TestCase HMAC-SHA256 Digest PASS 15) TestCase HMAC-SHA256 Digest Verify PASS 16) TestCase SHA384 Digest PASS 17) TestCase SHA384 Digest Verify PASS 18) TestCase HMAC-SHA384 Digest PASS 19) TestCase HMAC-SHA384 Digest Verify PASS 20) TestCase SHA512 Digest PASS 21) TestCase SHA512 Digest Verify PASS 22) TestCase HMAC-SHA512 Digest PASS 23) TestCase HMAC-SHA512 Digest Verify PASS + TestCase [ 8] : test_authonly_openssl_all succeeded + TestCase [ 9] : test_AES_GCM_authenticated_encryption_test_case_1 succee= ded + TestCase [10] : test_AES_GCM_authenticated_encryption_test_case_2 succee= ded + TestCase [11] : test_AES_GCM_authenticated_encryption_test_case_3 succee= ded + TestCase [12] : test_AES_GCM_authenticated_encryption_test_case_4 succee= ded + TestCase [13] : test_AES_GCM_authenticated_encryption_test_case_5 succee= ded + TestCase [14] : test_AES_GCM_authenticated_encryption_test_case_6 succee= ded + TestCase [15] : test_AES_GCM_authenticated_encryption_test_case_7 succee= ded + TestCase [16] : test_AES_GCM_authenticated_decryption_test_case_1 succee= ded + TestCase [17] : test_AES_GCM_authenticated_decryption_test_case_2 succee= ded + TestCase [18] : test_AES_GCM_authenticated_decryption_test_case_3 succee= ded + TestCase [19] : test_AES_GCM_authenticated_decryption_test_case_4 succee= ded + TestCase [20] : test_AES_GCM_authenticated_decryption_test_case_5 succee= ded + TestCase [21] : test_AES_GCM_authenticated_decryption_test_case_6 succee= ded + TestCase [22] : test_AES_GCM_authenticated_decryption_test_case_7 succee= ded + TestCase [23] : test_AES_GCM_auth_encryption_test_case_192_1 succeeded + TestCase [24] : test_AES_GCM_auth_encryption_test_case_192_2 succeeded + TestCase [25] : test_AES_GCM_auth_encryption_test_case_192_3 succeeded + TestCase [26] : test_AES_GCM_auth_encryption_test_case_192_4 succeeded + TestCase [27] : test_AES_GCM_auth_encryption_test_case_192_5 succeeded + TestCase [28] : test_AES_GCM_auth_encryption_test_case_192_6 succeeded + TestCase [29] : test_AES_GCM_auth_encryption_test_case_192_7 succeeded + TestCase [30] : test_AES_GCM_auth_decryption_test_case_192_1 succeeded + TestCase [31] : test_AES_GCM_auth_decryption_test_case_192_2 succeeded + TestCase [32] : test_AES_GCM_auth_decryption_test_case_192_3 succeeded + TestCase [33] : test_AES_GCM_auth_decryption_test_case_192_4 succeeded + TestCase [34] : test_AES_GCM_auth_decryption_test_case_192_5 succeeded + TestCase [35] : test_AES_GCM_auth_decryption_test_case_192_6 succeeded + TestCase [36] : test_AES_GCM_auth_decryption_test_case_192_7 succeeded + TestCase [37] : test_AES_GCM_auth_encryption_test_case_256_1 succeeded + TestCase [38] : test_AES_GCM_auth_encryption_test_case_256_2 succeeded + TestCase [39] : test_AES_GCM_auth_encryption_test_case_256_3 succeeded + TestCase [40] : test_AES_GCM_auth_encryption_test_case_256_4 succeeded + TestCase [41] : test_AES_GCM_auth_encryption_test_case_256_5 succeeded + TestCase [42] : test_AES_GCM_auth_encryption_test_case_256_6 succeeded + TestCase [43] : test_AES_GCM_auth_encryption_test_case_256_7 succeeded + TestCase [44] : test_AES_GCM_auth_decryption_test_case_256_1 succeeded + TestCase [45] : test_AES_GCM_auth_decryption_test_case_256_2 succeeded + TestCase [46] : test_AES_GCM_auth_decryption_test_case_256_3 succeeded + TestCase [47] : test_AES_GCM_auth_decryption_test_case_256_4 succeeded + TestCase [48] : test_AES_GCM_auth_decryption_test_case_256_5 succeeded + TestCase [49] : test_AES_GCM_auth_decryption_test_case_256_6 succeeded + TestCase [50] : test_AES_GCM_auth_decryption_test_case_256_7 succeeded + TestCase [51] : test_AES_GMAC_authentication_test_case_1 succeeded + TestCase [52] : test_AES_GMAC_authentication_verify_test_case_1 succeede= d + TestCase [53] : test_AES_GMAC_authentication_test_case_2 succeeded + TestCase [54] : test_AES_GMAC_authentication_verify_test_case_2 succeede= d + TestCase [55] : test_AES_GMAC_authentication_test_case_3 succeeded + TestCase [56] : test_AES_GMAC_authentication_verify_test_case_3 succeede= d + TestCase [57] : test_AES_GMAC_authentication_test_case_4 succeeded + TestCase [58] : test_AES_GMAC_authentication_verify_test_case_4 succeede= d + TestCase [59] : test_AES_CCM_authenticated_encryption_test_case_128_1 su= cceeded + TestCase [60] : test_AES_CCM_authenticated_encryption_test_case_128_2 su= cceeded + TestCase [61] : test_AES_CCM_authenticated_encryption_test_case_128_3 su= cceeded + TestCase [62] : test_AES_CCM_authenticated_decryption_test_case_128_1 su= cceeded + TestCase [63] : test_AES_CCM_authenticated_decryption_test_case_128_2 su= cceeded + TestCase [64] : test_AES_CCM_authenticated_decryption_test_case_128_3 su= cceeded + TestCase [65] : test_AES_CCM_authenticated_encryption_test_case_192_1 su= cceeded + TestCase [66] : test_AES_CCM_authenticated_encryption_test_case_192_2 su= cceeded + TestCase [67] : test_AES_CCM_authenticated_encryption_test_case_192_3 su= cceeded + TestCase [68] : test_AES_CCM_authenticated_decryption_test_case_192_1 su= cceeded + TestCase [69] : test_AES_CCM_authenticated_decryption_test_case_192_2 su= cceeded + TestCase [70] : test_AES_CCM_authenticated_decryption_test_case_192_3 su= cceeded + TestCase [71] : test_AES_CCM_authenticated_encryption_test_case_256_1 su= cceeded + TestCase [72] : test_AES_CCM_authenticated_encryption_test_case_256_2 su= cceeded + TestCase [73] : test_AES_CCM_authenticated_encryption_test_case_256_3 su= cceeded + TestCase [74] : test_AES_CCM_authenticated_decryption_test_case_256_1 su= cceeded + TestCase [75] : test_AES_CCM_authenticated_decryption_test_case_256_2 su= cceeded + TestCase [76] : test_AES_CCM_authenticated_decryption_test_case_256_3 su= cceeded + TestCase [77] : test_AES_GCM_auth_encrypt_SGL_out_of_place_400B_1seg suc= ceeded + TestCase [78] : authentication_verify_HMAC_SHA1_fail_data_corrupt succee= ded + TestCase [79] : authentication_verify_HMAC_SHA1_fail_tag_corrupt succeed= ed + TestCase [80] : authentication_verify_AES128_GMAC_fail_data_corrupt succ= eeded + TestCase [81] : authentication_verify_AES128_GMAC_fail_tag_corrupt succe= eded + TestCase [82] : auth_decryption_AES128CBC_HMAC_SHA1_fail_data_corrupt su= cceeded + TestCase [83] : auth_decryption_AES128CBC_HMAC_SHA1_fail_tag_corrupt suc= ceeded + ------------------------------------------------------- + + Test Suite Summary + Tests Total : 84 + Tests Skipped : 0 + Tests Executed : 84 + Tests Unsupported: 0 + Tests Passed : 84 + Tests Failed : 0 + ------------------------------------------------------- + Test OK=20 RTE>>cryptodev_null_autotest + ------------------------------------------------------- + + Test Suite : Crypto Device NULL Unit Test Suite CRYPTODEV: [crypto_null] - Creating cryptodev crypto_null CRYPTODEV: [crypto_null] - Initialisation parameters - name: crypto_null,so= cket id: 1, max queue pairs: 8, max sessions: 2048 + ------------------------------------------------------- + + TestCase [ 0] : test_null_auth_only_operation succeeded + TestCase [ 1] : test_null_cipher_only_operation succeeded + TestCase [ 2] : test_null_cipher_auth_operation succeeded + TestCase [ 3] : test_null_auth_cipher_operation succeeded CRYPTODEV: [crypto_null] null_crypto_pmd_session_configure() line 323: fail= ed configure session parameters CRYPTODEV: rte_cryptodev_sym_session_init() line 1111: dev_id 1 failed to c= onfigure session details CRYPTODEV: [crypto_null] null_crypto_pmd_session_configure() line 323: fail= ed configure session parameters CRYPTODEV: rte_cryptodev_sym_session_init() line 1111: dev_id 1 failed to c= onfigure session details + TestCase [ 4] : test_null_invalid_operation succeeded + TestCase [ 5] : test_null_burst_operation succeeded + ------------------------------------------------------- + + Test Suite Summary + Tests Total : 6 + Tests Skipped : 0 + Tests Executed : 6 + Tests Unsupported: 0 + Tests Passed : 6 + Tests Failed : 0 + ------------------------------------------------------- + Test OK RTE>> sudo ./examples/l2fwd-crypto/build/l2fwd-crypto -l 0-1 -n 4 --vdev crypto_o= penssl -- -p 0x3 --chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo AES_= CBC --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f --iv 00:01= :02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff --auth_op GENERATE --auth_algo S= HA1_HMAC --auth_key 11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:1= 1:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:1= 1:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11 EAL: Detected 28 lcore(s) ERROR: failed to parse device "crypto_openssl" EAL: Unable to parse device 'crypto_openssl' EAL: Error - exiting with code: 1 Cause: Invalid EAL arguments -ugen -----Original Message----- From: Trahe, Fiona [mailto:fiona.trahe@intel.com]=20 Sent: 27 April 2018 16:01 To: Kudupudi, Ugendreshwar ; users@dpdk.o= rg Subject: RE: OpenSSL Crypto PMD Fails Have you tried the unit tests? make test-build cd build/build/test/test /test -l1 -n1 > cryptodev_openssl_autotest > cryptodev_null_autotest > -----Original Message----- > From: Kudupudi, Ugendreshwar [mailto:Ugendreshwar.Kudupudi@cavium.com] > Sent: Friday, April 27, 2018 11:24 AM > To: Trahe, Fiona ; users@dpdk.org > Subject: RE: OpenSSL Crypto PMD Fails >=20 > Yes. I did. >=20 > # Compile PMD for Software backed device=20 > CONFIG_RTE_LIBRTE_PMD_OPENSSL=3Dy CONFIG_RTE_LIBRTE_PMD_OPENSSL_DEBUG=3Dn >=20 > -ugen >=20 > -----Original Message----- > From: Trahe, Fiona [mailto:fiona.trahe@intel.com] > Sent: 27 April 2018 15:49 > To: Kudupudi, Ugendreshwar ;=20 > users@dpdk.org > Subject: RE: OpenSSL Crypto PMD Fails >=20 > It's not enabled by default - have you enabled it in the config file? > sed -i 's,\(CONFIG_RTE_LIBRTE_PMD_OPENSSL\)=3Dn,\1=3Dy,'=20 > $RTE_OUTPUT/.config >=20 > > -----Original Message----- > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Kudupudi,=20 > > Ugendreshwar > > Sent: Wednesday, April 25, 2018 2:24 PM > > To: users@dpdk.org > > Subject: [dpdk-users] OpenSSL Crypto PMD Fails > > > > Hello Team > > > > We are looking to execute the sample OpenSSL Crypto PMD and got the bel= ow error. > > > > Environment Details: > > ----------------------------- > > > > OS: Centos 7.3 (3.10.0) > > DPDK: 17.11.2 > > OpenSSL Version: 1.0.2k-fips > > Ethernet: Intel X710 > > Isolcpu: 0-3 > > Link: https://dpdk.org/doc/guides/cryptodevs/openssl.html > > > > Any help in resolving this issue is deeply appreciated. > > > > ----------------------------------------- log start > > -------------------------------------------------------------------- > > -- > > ------------ sudo ./examples/l2fwd-crypto/build/l2fwd-crypto -l 0-1=20 > > -n > > 4 --vdev crypto_openssl -- -p 0x3 --chain CIPHER_HASH --cipher_op=20 > > ENCRYPT --cipher_algo AES_CBC --cipher_key=20 > > 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f --iv=20 > > 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff -- auth_op GENERATE=20 > > --auth_algo SHA1_HMAC --auth_key > > > 11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:1= 1:11:11:11:11:11:11:11:11: > > 11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11 > > :1 > > 1:11:11:11:11:11:11:11 > > EAL: Detected 28 lcore(s) > > ERROR: failed to parse device "crypto_openssl" > > EAL: Unable to parse device 'crypto_openssl' > > EAL: Error - exiting with code: 1 > > Cause: Invalid EAL arguments > > ----------------------------------------- log end > > -------------------------------------------------------------------- > > -- > > ------------ > > > > > > > > We ran the NULL Crypto PMD successfully though. > > > > > > > > ----------------------------------------- log start > > -------------------------------------------------------------------- > > -- > > ------------ > > > > sudo ./examples/l2fwd-crypto/build/l2fwd-crypto -l 1 -n 4 -- > > vdev=3Dcrypto_null,socket_id=3D0,max_nb_sessions=3D128 -- -p 1 --cdev S= W=20 > > --chain CIPHER_ONLY --cipher_algo null > > EAL: Detected 28 lcore(s) > > EAL: Probing VFIO support... > > EAL: VFIO support initialized > > EAL: PCI device 0000:01:00.0 on NUMA socket 0 > > EAL: probe driver: 8086:1521 net_e1000_igb > > EAL: PCI device 0000:01:00.1 on NUMA socket 0 > > EAL: probe driver: 8086:1521 net_e1000_igb > > EAL: PCI device 0000:02:00.0 on NUMA socket 0 > > EAL: probe driver: 8086:1572 net_i40e > > EAL: using IOMMU type 1 (Type 1) > > PMD: Global register is changed during enable FDIR flexible payload > > PMD: Global register is changed during support QinQ parser > > PMD: Global register is changed during configure hash input set > > PMD: Global register is changed during configure fdir mask > > PMD: Global register is changed during configure hash mask > > PMD: Global register is changed during support QinQ cloud filter > > PMD: Global register is changed during support TPID configuration > > EAL: PCI device 0000:02:00.1 on NUMA socket 0 > > EAL: probe driver: 8086:1572 net_i40e > > CRYPTODEV: [crypto_null] - Creating cryptodev crypto_null > > > > CRYPTODEV: [crypto_null] - Initialisation parameters - name: > > crypto_null,socket id: 0, max queue pairs: 8, max sessions: 128 MAC=20 > > updating enabled Initializing port 0... Port 0, MAC address: > > 3C:FD:FE:0D:1C:E0 > > > > > > Checking link > > status................................................................ > > ..........................done > > Port 0 Link Down > > Lcore 1: RX port 0 > > Allocated session pool on socket 0 > > Lcore 1: cryptodev 0 > > L2FWD: entering main loop on lcore 1 > > L2FWD: -- lcoreid=3D1 portid=3D0 > > L2FWD: -- lcoreid=3D1 cryptoid=3D0 > > Options:- > > nportmask: 1 > > ports per lcore: 1 > > refresh period : 10000 > > single lcore mode: disabled > > stats_printing: enabled > > sessionless crypto: disabled > > > > Crypto chain: Input --> Encrypt --> Output > > > > ---- Cipher information --- > > Algorithm: null > > Cipher key: at [0x7fedbff38080], len=3D0 > > IV: at [0x7fedbff34640], len=3D0 > > > > Port statistics =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Statistics for port 0 ------------------------------ > > Packets sent: 0 > > Packets received: 0 > > Packets dropped: 0 > > Crypto statistics =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Statistics for cryptodev 0 ------------------------- > > Packets enqueued: 0 > > Packets dequeued: 0 > > Packets errors: 0 > > Aggregate statistics =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Total packets received: 0 > > Total packets enqueued: 0 > > Total packets dequeued: 0 > > Total packets sent: 0 > > Total packets dropped: 0 > > Total packets crypto errors: 0 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > > ----------------------------------------- log end > > -------------------------------------------------------------------- > > -- > > ------------ > > > > > > Regards > > Ugen