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 193F5A0540 for ; Fri, 8 Jul 2022 08:12:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B347D406B4; Fri, 8 Jul 2022 08:12:32 +0200 (CEST) Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) by mails.dpdk.org (Postfix) with ESMTP id 1A2734069D for ; Fri, 8 Jul 2022 08:12:31 +0200 (CEST) Received: by mail-yb1-f173.google.com with SMTP id h132so5531674ybb.4 for ; Thu, 07 Jul 2022 23:12:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3F0KiE5aXLi+QE37aPmHZPY+LhXnl8mpw2TNcWydseA=; b=o3LholfD0ZSdqDNYEISwhOayrST/ggUJRAj5RDcECC3GBfcsxgtHZ6jv5R/i60twBD zagzoUvHimWGn/dCQyySBe3/fMrY8NmRRo9UaUdEZjldG0oeD/zH+C8Br5wRHtCE0YJT HBAq10ONQAomtGMBNqV9jmznsY4EPz1gllZjkx8MascVp/5CTKOyNUHL/cfVrlROyEpp Xz1BPXegeL6VgQKSyD3VpsS8JU2Z1/GZLJTr8owBq5tmGLQ9PAFtidQ2TiccAvrokn+x aC8DtUNbD6jYpE4AGfJH3rZu/AfPzihDHaTcdOY+M/6bG5QsB7FsqpJFTJwuIivlqEu0 EPxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3F0KiE5aXLi+QE37aPmHZPY+LhXnl8mpw2TNcWydseA=; b=pJ50Qwf3d3vnZMAQXIC/wxxqGirs8YE0WtmoIBd5VrjJddxC/eMOXDmwmZnIRzaXWA OfvJxC0ukPsAHy3SmgyfwF2oR4S8ViwlM2fjnlx5P+CXeECtokBt4txKkWuMX5eq3S20 YVG+nx2G74o5L++GSe59cQL4sluU1g7p9rmKNqSJIKLPVNH2UNADAwaXwvwrJvxHqUyu N63iBt1Pr2UUYf55cjRZtd2MzB8BFOjtEdhYlMFXIB95GEq2+W6ptU2In+KFEaR7Mo9T WGWzJRZpeSBFy0BmE+wXoX09v1DlX7dyd61Q8ZbjGxKL9kkaD9MwH2U33JhC/e1TpWJ/ gJHg== X-Gm-Message-State: AJIora9CSqV/3rYwwYDQCDHshPPpc7k1iwdNdJAMC+Yr1L8j9oCgjZz4 aXG2cbICr+Y59rR8rzL5UZ0O37hC+5d4x4yXqwg= X-Google-Smtp-Source: AGRyM1uuMSkkKvKpBFAGhs+wnW2linELrCHauJ4FP6ZvnFoNxXEtNIk2RcUxOvn8F8JvExEnA5mLGI/OwPXoHwNJIvY= X-Received: by 2002:a25:d652:0:b0:66e:c998:53ef with SMTP id n79-20020a25d652000000b0066ec99853efmr1891254ybg.335.1657260750416; Thu, 07 Jul 2022 23:12:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: animesh tripathi Date: Fri, 8 Jul 2022 11:42:17 +0530 Message-ID: Subject: Re: running dpdk on mellanox with dpdk 21.08 To: Cliff Burdick Cc: users Content-Type: multipart/alternative; boundary="000000000000542fc005e3451637" 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 --000000000000542fc005e3451637 Content-Type: text/plain; charset="UTF-8" Hi Cliff, Yes I am running as root Thanks, Animesh Tripathi On Fri, Jul 8, 2022, 10:29 AM animesh tripathi wrote: > Hi Cliff, > > Please find the output of meson command. > > Thanks, > Animesh Tripathi > > On Thu, Jul 7, 2022 at 8:17 PM Cliff Burdick wrote: > >> Please paste the output of the meson command. Are you running as root? >> >> >> On Thu, Jul 7, 2022, 06:13 animesh tripathi >> wrote: >> >>> Hi Team, >>> >>> I have to run dpdk on mellanox nic. I have compiled dpdk 21.08 with the >>> following commands: >>> >>> meson --prefix=$(pwd)/build build >>> ninja -C build >>> ninja -C build install >>> ldconfig >>> >>> While running the application I am getting following error: >>> >>> EAL: Detected 24 lcore(s) >>> EAL: Detected 1 NUMA nodes >>> EAL: Auto-detected process type: PRIMARY >>> EAL: Detected static linkage of DPDK >>> EAL: failed to parse device "0000:b5:00.1" >>> EAL: Unable to parse device '0000:b5:00.1' >>> PANIC in nr_dpdk_init(): >>> Cannot init EAL: No such device >>> 6: [./a() [0x444179]] >>> 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) >>> [0x7f08e0f2e0b3]] >>> 4: [./a(main+0x428) [0x4431f8]] >>> 3: [./a(nr_dpdk_init+0x268) [0x509bd8]] >>> 2: [./a(__rte_panic+0xcd) [0x43c55e]] >>> 1: [./a(rte_dump_stack+0x32) [0x539ed2]] >>> >>> Also I cannot find mlx5 compiled libs in the dpdk build folder. Please >>> help me in resolving this issue. >>> >>> Thanks, >>> Animesh Tripathi >>> >> --000000000000542fc005e3451637 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Cliff,

Ye= s I am running as root

T= hanks,
Animesh Tripathi=C2=A0

On Fri, Jul 8, 20= 22, 10:29 AM animesh tripathi <= anitrip.444@gmail.com> wrote:
Hi Cliff,

Please find the output of m= eson command.

Thanks,
Animesh Tripathi

On Thu, Jul 7, 2022 at 8:17 PM Cliff Burdick <shaklee3@gmail.com= > wrote:
Please paste the output of the meson command. Are you running= as root?


<= div dir=3D"ltr" class=3D"gmail_attr">On Thu, Jul 7, 2022, 06:13 animesh tri= pathi <anitrip.444@gmail.com> wrote:
Hi Team,

I have to run dpdk on mellanox nic. I= have compiled dpdk 21.08 with the following commands:=C2=A0

=
meson --prefix=3D$(pwd)/build build
ninja -C buil= d
ninja -C build install
ldconfig

<= /div>
While running the application I am getting following error:
=

EAL: Detected 24 lcore(s)
EAL: Detected = 1 NUMA nodes
EAL: Auto-detected process type: PRIMARY
E= AL: Detected static linkage of DPDK
EAL: failed to parse device &= quot;0000:b5:00.1"
EAL: Unable to parse device '0000:b5:= 00.1'
PANIC in nr_dpdk_init():
Cannot init EAL: No = such device
6: [./a() [0x444179]]
5: [/lib/x86_64-linux= -gnu/libc.so.6(__libc_start_main+0xf3) [0x7f08e0f2e0b3]]
4: [./a(= main+0x428) [0x4431f8]]
3: [./a(nr_dpdk_init+0x268) [0x509bd8]]
2: [./a(__rte_panic+0xcd) [0x43c55e]]
1: [./a(rte_dump_s= tack+0x32) [0x539ed2]]

Also I cannot find ml= x5 compiled libs in the dpdk build folder. Please help me in resolving this= issue.

Thanks,
Animesh Tripathi
--000000000000542fc005e3451637--