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 1287142BF0 for ; Mon, 5 Jun 2023 17:02:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 04A2340A7F; Mon, 5 Jun 2023 17:02:16 +0200 (CEST) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) by mails.dpdk.org (Postfix) with ESMTP id 1B1C840A82 for ; Wed, 31 May 2023 17:17:34 +0200 (CEST) Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-2af2e1725bdso14278261fa.0 for ; Wed, 31 May 2023 08:17:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685546253; x=1688138253; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=eHRYdrmQTER/pgRJsx6w9Cko+q0EmPyH7fz1q391938=; b=psIf6L2lZcWRFKvfiF943/TtphhsAC35e2Ev1yYdM0/DXSKN/yLw4IWeXD0K0rr/n8 tojbLLc0E6p1dXtjXjicHcQqZ6mAY/6A3q1D32qqvl3RPwG2SZMfKjegrR4JCFbVjfYP AGclIQmlC/rLhJhIa6x8Ob2cQ4opZQ7jsLOOmH3pI8/n7eFJ+u5MIH8jEmO3dCnqx2U7 2GogBS1idIv1mIK5Wa/YZzMjHP789k47wuujc32fguBCrKSEQGKyGEQbyDKJbpTx3ptS XAAA0L38pLKfRzGNjYlDtqTLmjhYRzb+pC59Mg8jGAtgulXLg6xIzWE+OLDtq0UpJZPK +mtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685546253; x=1688138253; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eHRYdrmQTER/pgRJsx6w9Cko+q0EmPyH7fz1q391938=; b=Q3y+1cVqy4BWQxq8ZRbXBvkO2fweHbRSkSA7hek8WPf27ClA1+dOiTll6bWk2NYkaF /ZSLC+bjGYKEvVNBibXUQIwkOK2skIJ8lQyR3VMf42XiLar1xQbGsKUQe7DOUiOzmipI 7HgccEGkCaIyG6LUsvq5seR3+HF01/BHE1Ex4KxHmg9AY/kIms2UWJDeqJlEpkHfpMo/ Vr/2ciB1Kmj0TGf1QpTPkNrXos8WS7iDfNSigSaN+JNnCl/MXQptXhXKSM5Tl0919PrG +7TwrICD952Mh80GSqfInx46P8IFNUlcEmN13t8o1Ok3d5iX3HZDb8xTyCiYbv+GdoxE TL/w== X-Gm-Message-State: AC+VfDyRdJUXst5haUl1xL6q/6TYoVeww7lKjShwuEyoh/Uh6fFjcN6s kRieLIbP6QQTBLVVs/GPKZc7MZiOhFG8gX6qw6Dq01jin+GSSQ== X-Google-Smtp-Source: ACHHUZ59VABu0rbSgn9CcWY8ggroUDRB9EGkn5W1M5OZZTyBeBBWMUS5pSp5j6JkV0ysSjz7xsmeRQA6+A+ENFUcSs0= X-Received: by 2002:a2e:9048:0:b0:2b0:721c:1a0e with SMTP id n8-20020a2e9048000000b002b0721c1a0emr2024150ljg.1.1685546252526; Wed, 31 May 2023 08:17:32 -0700 (PDT) MIME-Version: 1.0 From: Felipe Polanco Date: Wed, 31 May 2023 11:17:21 -0400 Message-ID: Subject: Assistance needed to enable ipsec mb on dpdk To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000a2683705fcfed146" X-Mailman-Approved-At: Mon, 05 Jun 2023 17:02:13 +0200 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --000000000000a2683705fcfed146 Content-Type: text/plain; charset="UTF-8" Hi, We have two identical servers with dpdk and ipsecMB libraries installed. One of the servers was configured by a colleague and its working fine with dpdk-test-crypto-perf but I'm configuring the other and is failing with cannot find cryptodev device 1st server OK: CRYPTODEV: Creating cryptodev crypto_aesni_gcm CRYPTODEV: Initialisation parameters - name: crypto_aesni_gcm,socket id: 0, max queue pairs: 8 ipsec_mb_create() line 168: IPSec Multi-buffer library version used: 1.3.0 TELEMETRY: No legacy callbacks, legacy socket not created Allocated pool "sess_mp_0" on socket 0 lcore id Buf Size Burst Size Enqueued Dequeued Failed Enq Failed Deq MOps Gbps Cycles/Buf 1 1500 32 300000 300000 0 0 6.2472 74.9660 336.15 2nd server NOK: CRYPTODEV: Creating cryptodev crypto_aesni_gcm CRYPTODEV: Initialisation parameters - name: crypto_aesni_gcm,socket id: 0, max queue pairs: 8 CRYPTODEV: rte_cryptodev_pmd_create() line 115: Failed to allocate crypto device for crypto_aesni_gcm ipsec_mb_create() line 118: driver : create failed vdev_probe(): failed to initialize crypto_aesni_gcm device EAL: Bus (vdev) probe failed. TELEMETRY: No legacy callbacks, legacy socket not created No crypto devices type crypto_aesni_gcm available USER1: Failed to initialise requested crypto device type Steps I'm performing: Installing IPSECMB from https://github.com/intel/intel-ipsec-mb Compiling dpdk-stable-22.11.1 and installing it. Anything else I need to do to in order to enable IPSECMB on DPDK? --000000000000a2683705fcfed146 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

We have two identical servers with = dpdk and ipsecMB libraries installed.

One of the s= ervers was configured by a colleague and its working fine with dpdk-test-cr= ypto-perf but I'm configuring the other and is failing with cannot find= cryptodev device


1st server OK:
CRYPTODEV: Creating cryptodev crypto_aesni_gcm
CRYPTODEV: Initia= lisation parameters - name: crypto_aesni_gcm,socket id: 0, max queue pairs:= 8
ipsec_mb_create() line 168: IPSec Multi-buffer library version used: = 1.3.0

TELEMETRY: No legacy callbacks, legacy socket not created
A= llocated pool "sess_mp_0" on socket 0
=C2=A0 =C2=A0 lcore id =C2=A0 =C2=A0Buf Size =C2=A0Burst Size =C2=A0 =C2= =A0Enqueued =C2=A0 =C2=A0Dequeued =C2=A0Failed Enq =C2=A0Failed Deq =C2=A0 = =C2=A0 =C2=A0 =C2=A0MOps =C2=A0 =C2=A0 =C2=A0 =C2=A0Gbps =C2=A0Cycles/Buf
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01 =C2=A0 =C2=A0 =C2=A0 =C2= =A01500 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A032 =C2=A0 =C2=A0 =C2=A0300000 =C2= =A0 =C2=A0 =C2=A0300000 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 =C2=A06.2472 =C2=A0 =C2=A0 74.9660 =C2= =A0 =C2=A0 =C2=A0336.15


2nd server NOK:=
CRYPTODEV: Creating cryptodev crypto_aesni_gcm
CRYPTODEV: Ini= tialisation parameters - name: crypto_aesni_gcm,socket id: 0, max queue pai= rs: 8
CRYPTODEV: rte_cryptodev_pmd_create() line 115: Failed to allocate= crypto device for crypto_aesni_gcm
ipsec_mb_create() line 118: driver := create failed
vdev_probe(): failed to initialize crypto_aesni_gcm devic= e
EAL: Bus (vdev) probe failed.
TELEMETRY: No legacy callbacks, legac= y socket not created
No crypto devices type crypto_aesni_gcm availableUSER1: Failed to initialise requested crypto device type
Steps I'm performing:

Installing = IPSECMB from=C2=A0

<= div>Compiling=C2=A0dpdk-stable-22.11.1 and installing it.

Anything else I need to do to in order to enable IPSECMB on DPDK?
--000000000000a2683705fcfed146--