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 37B39A0543 for ; Thu, 7 Jul 2022 16:47:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B4750406B4; Thu, 7 Jul 2022 16:47:05 +0200 (CEST) Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by mails.dpdk.org (Postfix) with ESMTP id 56DB64069D for ; Thu, 7 Jul 2022 16:47:04 +0200 (CEST) Received: by mail-ed1-f51.google.com with SMTP id fd6so23441132edb.5 for ; Thu, 07 Jul 2022 07:47:04 -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=vsqUN6bfkXnb5Zs8rHaJJldNKNEYjtK+dxmBMtpo8ks=; b=NRwQJrrRwc6XAW15xbO30EZvJqL9Aj+jCgzp61WA4FFk4qP5aLfg1igPDOxZxEJs7H 15YWI8I9gE0dzFb0a4sJYq0Ck57dXUlYm3PY/eJMOjRnhParakRJiwJI/Ub2tXxnslwg +162A7iNhHE+QMLg9bt3bvwm6GvAreVBGzZMEJJs3ek84ci15jQ4sSJ3w8Oo+RA7p1n0 xOGqFQeyaxeTH6yHeCJyY+zY3F6a8TSGMCEGQTw3q9CJpQna9BajKll4Qtd9yaeBNQbv PEP8C0Z0jgH7uNoVgqcLwMlrLrfrTwShwYqeqjM9kRJZQaesr8YLsAungUlS5RWmMibI jWCA== 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=vsqUN6bfkXnb5Zs8rHaJJldNKNEYjtK+dxmBMtpo8ks=; b=M0A8nuRmskdeeSxS2W+hROaK+anICKI+wnt3+aTgYdU7K+I5wDXl3zxu+pRmhdaQiR 159/a8yRPLPsegI+j/1pcEN3hgXFnOmb5zu0p9q8af3ji+gh4A5sbXrRF34SssuVlGKn RF3pYIWnjdP0MgkWN+c86XE3pVTHsDB0/l+2WlaE+lg0zFIGpy27mO0CnYSWRJ7sflvM SYcWBi92bgXlAnafG0TJtVXNup6MQo1XpPAO3DcvvtiwY3K44oAJKghLY3cYEh3bxIZq xgsCvy4mJpIHsshKG/RUOoDg/bInF43JHZDLC5jub776ujKUCxNoi0eYd8lnoZEDEtb+ mPKw== X-Gm-Message-State: AJIora90qCgm/tlbnIdP6C8sbsmbaIQSWbj76FFiNxvoGg3QlYBMGkv6 vS07BRmEnTOsIeDoXc2T2oSVm79SvwLMDuxL3O+4ilih X-Google-Smtp-Source: AGRyM1viYlegktKYyuwTHxAdG6cvDbh39/vhh/XN8yo4bz0iO6IP76a+SB2a5ZYd9QyTpnKWPKPP1ATjvZaWfjd6Jfs= X-Received: by 2002:a50:e613:0:b0:439:fd34:32db with SMTP id y19-20020a50e613000000b00439fd3432dbmr38567777edm.291.1657205223991; Thu, 07 Jul 2022 07:47:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Cliff Burdick Date: Thu, 7 Jul 2022 07:46:53 -0700 Message-ID: Subject: Re: running dpdk on mellanox with dpdk 21.08 To: animesh tripathi Cc: users Content-Type: multipart/alternative; boundary="000000000000b22ec605e3382847" 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 --000000000000b22ec605e3382847 Content-Type: text/plain; charset="UTF-8" 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 > --000000000000b22ec605e3382847 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Please paste the output of the meson command. Are you run= ning as root?


On Thu, Jul 7, 2022, 06:13 animesh= tripathi <anitrip.444@gmail.co= m> wrote:
<= div dir=3D"ltr">
Hi Team,

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

meson --prefix=3D$(pwd)/build build<= /div>
ninja -C build
ninja -C build install
ldconfi= g

While running the application I am getting= following error:

EAL: Detected 24 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Auto-detected process ty= pe: PRIMARY
EAL: Detected static linkage of DPDK
EAL: f= ailed to parse device "0000:b5:00.1"
EAL: Unable to par= se 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) [0x7f08e0f2e0= b3]]
4: [./a(main+0x428) [0x4431f8]]
3: [./a(nr_dpdk_in= it+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 he= lp me in resolving this issue.

Thanks,
A= nimesh Tripathi
--000000000000b22ec605e3382847--