From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0074.outbound.protection.outlook.com [104.47.33.74]) by dpdk.org (Postfix) with ESMTP id A13176CCF for ; Wed, 25 Apr 2018 15:23:35 +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=m74JUzgiRrBV+s/I6DhY8keNf7E6nU/a6S4B6yt2CYM=; b=LA8/vRSxtoqwh50gb/jWSpF3szWVWYNiUACxm40PAngLuY/ChZcFlUoXI7Br/kKiKB+adidGpeDB+SZ0dNg3kNZrxc1JXeChjgR6GzCsOOhJ7IZ4TUbBFoff1qcpUL730r/M6UvnvrdbDJcEnmleaeSVRjrO+ERvhGlaDfqs9ww= Received: from BN3PR0701MB1140.namprd07.prod.outlook.com (10.160.114.153) by BN3PR0701MB1122.namprd07.prod.outlook.com (10.160.114.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.15; Wed, 25 Apr 2018 13:23:33 +0000 Received: from BN3PR0701MB1140.namprd07.prod.outlook.com ([fe80::ac27:4f4c:4a67:309f]) by BN3PR0701MB1140.namprd07.prod.outlook.com ([fe80::ac27:4f4c:4a67:309f%4]) with mapi id 15.20.0696.020; Wed, 25 Apr 2018 13:23:33 +0000 From: "Kudupudi, Ugendreshwar" To: "users@dpdk.org" Thread-Topic: OpenSSL Crypto PMD Fails Thread-Index: AdPcmKDuSdbl3ARsREaArnsySieYQQ== Date: Wed, 25 Apr 2018 13:23:33 +0000 Message-ID: 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; BN3PR0701MB1122; 7:uXPi+pQNk5lBSt+mmSZk3yWOTzIsPMevfb/BK7TuPbl+DrOrLNjuI7im5a9l3BRVyIzTrH1o+m3gdcdXhVIckvVNUXuOWb7Rpk+jNkSwNwCvsqJAGxPWbyHMlZ4kF1Jq0UWBFr2P087W1D598nwynV+fW7DUO1pWXRu4Z747Y9G/ISJRQINnLOs9RjmCsgOxK2kCQxFsMDYutuOO4SzXi+0GliESdNHYddsDXpqeVGr4kzQRyu6oLEKhydUszTxt 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:BN3PR0701MB1122; x-ms-traffictypediagnostic: BN3PR0701MB1122: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231232)(944501410)(52105095)(3002001)(10201501046)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:BN3PR0701MB1122; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1122; x-forefront-prvs: 06530126A4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(39380400002)(346002)(396003)(366004)(199004)(189003)(53936002)(476003)(105586002)(3280700002)(68736007)(6916009)(316002)(81156014)(2906002)(606006)(81166006)(1730700003)(8676002)(5630700001)(3480700004)(106356001)(8936002)(486006)(25786009)(7736002)(2900100001)(3660700001)(9686003)(59450400001)(26005)(6306002)(6506007)(236005)(33656002)(86362001)(2351001)(478600001)(966005)(54896002)(99286004)(790700001)(72206003)(3846002)(6116002)(74316002)(55236004)(102836004)(186003)(2501003)(66066001)(5250100002)(14454004)(7696005)(5640700003)(97736004)(21615005)(6436002)(5660300001)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1122; 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: b44flLUPFRSoVCo7mQIbRw2UmxAggdXnc3jDGK+EeFJwo6rq8EnwZ9x0Ted4z+b1tPZIczA623zXWiU5e6iw9QwHcE7ix+uHDQqwg6xoZXvD2WgJLpjPsaW6dtPRhcLwdnhP65WP0mZbgrHBhJ8eBfnJk3F02hG49fZxLwYQhUyEocCVuZs7NoRmjw/9IcTF spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 16188b48-4fa8-404c-293b-08d5aaafbe89 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-Network-Message-Id: 16188b48-4fa8-404c-293b-08d5aaafbe89 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2018 13:23:33.4826 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1122 X-Mailman-Approved-At: Thu, 26 Apr 2018 23:06:29 +0200 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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: Wed, 25 Apr 2018 13:23:36 -0000 Hello Team We are looking to execute the sample OpenSSL Crypto PMD and got the below e= rror. 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 -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 ----------------------------------------- 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_n= ull,socket_id=3D0,max_nb_sessions=3D128 -- -p 1 --cdev SW --chain CIPHER_ON= LY --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,so= cket id: 0, max queue pairs: 8, max sessions: 128 MAC 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