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 78FCCA0032 for ; Tue, 12 Jul 2022 08:35:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0430F41109; Tue, 12 Jul 2022 08:35:50 +0200 (CEST) Received: from mail-yw1-f176.google.com (mail-yw1-f176.google.com [209.85.128.176]) by mails.dpdk.org (Postfix) with ESMTP id 9CF6D410EF for ; Tue, 12 Jul 2022 08:35:48 +0200 (CEST) Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-31c86fe1dddso71376597b3.1 for ; Mon, 11 Jul 2022 23:35:48 -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=+utyJTESnXd1qq1xKCQKcke2ak6I6GlhRBQorpT34ks=; b=CXMLKnhDVOJ5pxJ22A5kLkEk31QT1Rc6qask8oxX3awGtdL97s0EhulVUmeGKeWnXD WX7G0PWL1BpzIdX+/5m0C6dgQflWapLPil4Jez8fwG2tBS6kvN5BwZN6bOgA1KUE14te 1iipeENWRPhg0V3VMgpyawMdwuT9+6VqjEpw+J4iGUa5anRM9lWWp0b+9XX2+eruhvr7 VBAKU4rFuQQr/Y7WbdOZ7ltZTA0kkVOIIDIe/Cx8fTiZifhcBrAvfbfF/c2TpMRNCbzV mDDWvWQ9My++6QFjpxtyflv9353XiDNqFrhgl1OTJnuIExcYcb67cu38TNHZPXWWnsYt +FAg== 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=+utyJTESnXd1qq1xKCQKcke2ak6I6GlhRBQorpT34ks=; b=BeVHGtEcWFBsAQXueUUQVL6Lo7g8He0PrT+dACMSOGkdYkzSjmltw4TRO0L7rFfqqE sLZg9feblbSH/P7YLOqURbEZRrj61AcWdI+V79r7Gj+Xy97iDGBB/rar53nX1q+w1iH7 gqTxuTXplPJD75mEFPR3hqKlm4EhostOt75DnvWo1PIsIkUy8Sh00hvS13Tfkjs5X2M5 36NzO1E9WGGAfsSOiT7m0t01cJ+ytwFrPZ0glzQ+oisVDgjXTg+fOh8maCBq5Lp3ckUD JmXlGEl7GOV+AiIU4K0szAce8EMOFjQARS7kfbfnOdDsrCkc5DwQi8Zmqte5fUj80j6u LwWg== X-Gm-Message-State: AJIora/Xv9kb+srfCyavSH6NwLAuYynSJ3WayBgNcfpAaMevkUf1IyCk TM9GTOamOYeS4505jz+OaugWCSHsHi3ZJZtb9o0= X-Google-Smtp-Source: AGRyM1uXDxQVlbBP3FKNt1dz2Wwn9kUTr2Qn6EYH5JVKVl/ohSaD86n04/6SK7DYlXtXAyD+wf0aiu9zlNS6jwv9hjw= X-Received: by 2002:a81:4e50:0:b0:31d:609:1220 with SMTP id c77-20020a814e50000000b0031d06091220mr22778657ywb.323.1657607747934; Mon, 11 Jul 2022 23:35:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: animesh tripathi Date: Tue, 12 Jul 2022 12:05:35 +0530 Message-ID: Subject: Re: running dpdk on mellanox with dpdk 21.08 To: Cliff Burdick Cc: users Content-Type: multipart/alternative; boundary="000000000000fe1ee005e395e00a" 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 --000000000000fe1ee005e395e00a Content-Type: text/plain; charset="UTF-8" Hi Cliff, Can you please help me here. Thanks, Animesh Tripathi On Fri, Jul 8, 2022, 4:03 PM animesh tripathi wrote: > Hi Cliff, > > The earlier error is resolved now. It was some compilation problem. Now I > am getting some other error: > > EAL: Detected 24 lcore(s) > EAL: Detected 1 NUMA nodes > EAL: Auto-detected process type: PRIMARY > EAL: Detected static linkage of DPDK > EAL: Multi-process socket /var/run/dpdk/nr_dpdk/mp_socket > EAL: Selected IOVA mode 'PA' > EAL: VFIO support initialized > TELEMETRY: No legacy callbacks, legacy socket not created > EAL: Driver cannot attach the device (0000:b5:00.1) > EAL: Failed to attach device on primary process > PANIC in nr_dpdk_init(): > Network port doesn't exist.6: [./a() [0xbba5aa]] > 5: [/usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) > [0x7f7d0fae40b3]] > 4: [./a(main+0x428) [0x7476e8]] > 3: [./a() [0x55b885]] > 2: [./a(__rte_panic+0xcd) [0x7409a7]] > 1: [./a(rte_dump_stack+0x32) [0x13a47a2]]\ > > These are the mellanox drivers installed on my machine: > mlx5_ib 393216 0 > mlx5_core 1552384 1 mlx5_ib > mlxdevm 172032 1 mlx5_core > auxiliary 16384 2 mlx5_ib,mlx5_core > ib_uverbs 135168 2 rdma_ucm,mlx5_ib > tls 73728 1 mlx5_core > mlxfw 32768 1 mlx5_core > psample 20480 1 mlx5_core > ib_core 319488 9 > rdma_cm,ib_ipoib,nvidia_peermem,iw_cm,ib_umad,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm > mlx_compat 65536 12 > rdma_cm,ib_ipoib,mlxdevm,iw_cm,auxiliary,ib_umad,ib_core,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm,mlx5_core > pci_hyperv_intf 16384 1 mlx5_core > > Can you please help me in resolving this error. > > Thanks, > Animesh Tripathi > > > On Fri, Jul 8, 2022 at 11:42 AM animesh tripathi > wrote: > >> 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 >>>>> >>>> --000000000000fe1ee005e395e00a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Cliff,

Ca= n you please help me here.

Thanks,
Animesh Tripathi

On Fri, Jul 8, 2022= , 4:03 PM animesh tripathi <ani= trip.444@gmail.com> wrote:
<= div dir=3D"ltr">
Hi Cliff,

<= div>The earlier error is resolved now. It was some compilation problem. Now= I am getting some other error:

EAL: Detected= 24 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Auto-detec= ted process type: PRIMARY
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/nr_dpdk/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initializ= ed
TELEMETRY: No legacy callbacks, legacy socket not created
EAL: Driver cannot attach the device (0000:b5:00.1)
EAL: Fa= iled to attach device on primary process
PANIC in nr_dpdk_init():=
Network port doesn't exist.6: [./a() [0xbba5aa]]
5= : [/usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f7d0fae4= 0b3]]
4: [./a(main+0x428) [0x7476e8]]
3: [./a() [0x55b8= 85]]
2: [./a(__rte_panic+0xcd) [0x7409a7]]
1: [./a(rte_= dump_stack+0x32) [0x13a47a2]]\

These are the= mellanox drivers installed on my machine:
mlx5_ib=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0393216=C2=A0 0
mlx5_= core=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1552384=C2=A0 1 mlx5_ib
=
mlxdevm=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0172032= =C2=A0 1 mlx5_core
auxiliary=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 16384=C2=A0 2 mlx5_ib,mlx5_core
ib_uverbs=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0135168=C2=A0 2 rdma_ucm,mlx5_ib
=
tls=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 73728=C2=A0 1 mlx5_core
mlxfw=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 32768=C2=A0 1 mlx5_core
psample= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 20480=C2=A0 1 mlx5_= core
ib_core=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0319488=C2=A0 9 rdma_cm,ib_ipoib,nvidia_peermem,iw_cm,ib_umad,rdma_ucm,ib= _uverbs,mlx5_ib,ib_cm
mlx_compat=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A065536=C2=A0 12 rdma_cm,ib_ipoib,mlxdevm,iw_cm,auxiliary,ib= _umad,ib_core,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm,mlx5_core
pci_hype= rv_intf=C2=A0 =C2=A0 =C2=A0 =C2=A0 16384=C2=A0 1 mlx5_core
=
Can you please help me in resolving this error.
Thanks,
Animesh Tripathi

<= /div>

On Fri, Jul 8, 2022 at 11:42 AM animesh tripathi <anitrip.444@gm= ail.com> wrote:
Hi Cliff,

Yes I am running as root

Thanks,
Animesh Tripathi=C2=A0

=
On Fri, Ju= l 8, 2022, 10:29 AM animesh tripathi <anitrip.444@gmail.com> w= rote:
Hi Cliff,

Please find the output of meson comma= nd.

Thanks,
Animesh Tripathi
=

=
Hi Team,

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

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

While running the application I am getting following = error:

EAL: Detected 24 lcore(s)
EA= L: Detected 1 NUMA nodes
EAL: Auto-detected process type: PRIMARY=
EAL: Detected static linkage of DPDK
EAL: failed to pa= rse device "0000:b5:00.1"
EAL: Unable to parse device &= #39;0000:b5:00.1'
PANIC in nr_dpdk_init():
Cannot i= nit EAL: No such device
6: [./a() [0x444179]]
5: [/lib/= x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f08e0f2e0b3]]
<= div>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 ca= nnot find mlx5 compiled libs in the dpdk build folder. Please help me in re= solving this issue.

Thanks,
Animesh Trip= athi
--000000000000fe1ee005e395e00a--