DPDK usage discussions
 help / color / mirror / Atom feed
From: Pravein GK <praveingk@gmail.com>
To: Raslan Darawsheh <rasland@nvidia.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] common_mlx5: Failed to load driver = net_mlx5 Error
Date: Tue, 2 Feb 2021 13:20:54 +0530	[thread overview]
Message-ID: <CAE4=sSdsN7_CFMOS5ZF-3fEBLhN2af8+twJcO2t4xadNwTV68w@mail.gmail.com> (raw)
In-Reply-To: <CAE4=sSfn=w66jyoKgg3xbxhBFwBkTGs9MiTfW1iFtyZWnOkx_A@mail.gmail.com>

I am still facing this issue, and stuck without knowing how to proceed.
Appreciate any help available.

Thanks,
Pravein

On Thu, Jan 28, 2021 at 2:32 PM Pravein GK <praveingk@gmail.com> wrote:

> I did not happen to see any errors in dmesg.
>
> Please find the dmesg, and ibdev2netdev attached.
>
> Thanks,
> Pravein
>
> On Thu, Jan 28, 2021 at 2:09 PM Raslan Darawsheh <rasland@nvidia.com>
> wrote:
>
>> Hi Pravein,
>>
>>
>>
>> Do you happen to have any errors in dmesg output ?
>>
>> Also, can you post the output of ibdev2netdev ?
>>
>>
>>
>> Kindest regards,
>>
>> Raslan Darawsheh
>>
>>
>>
>> *From:* Pravein GK <praveingk@gmail.com>
>> *Sent:* Thursday, January 28, 2021 10:36 AM
>> *To:* Raslan Darawsheh <rasland@nvidia.com>
>> *Cc:* users@dpdk.org
>> *Subject:* Re: [dpdk-users] common_mlx5: Failed to load driver =
>> net_mlx5 Error
>>
>>
>>
>> Hi Raslan,
>>
>>
>>
>> Thanks for your reply.
>>
>>
>>
>> The lsmod o/p is below :
>>
>>
>>
>> $ lsmod | grep mlx5_
>> mlx5_ib               364544  0
>> ib_uverbs             131072  2 rdma_ucm,mlx5_ib
>> mlx5_core            1294336  1 mlx5_ib
>> mlxfw                  24576  1 mlx5_core
>> psample                20480  1 mlx5_core
>> devlink                45056  1 mlx5_core
>> ib_core               311296  8
>> rdma_cm,ib_ipoib,iw_cm,ib_umad,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm
>> mlx_compat             45056  10
>> rdma_cm,ib_ipoib,iw_cm,ib_umad,ib_core,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm,mlx5_core
>> ptp                    20480  1 mlx5_core
>>
>>
>>
>> I had tried the force restart, and even after that , I get the same error.
>>
>>
>>
>> Thanks,
>>
>> Pravein
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Jan 28, 2021 at 1:52 PM Raslan Darawsheh <rasland@nvidia.com>
>> wrote:
>>
>> Hi Parvein,
>>
>> Can you kindly confirm that the kernel drivers (mlx5_ib, mlx5_core) are
>> loaded?
>> (lsmod | grep mlx5_)
>>
>> If not please try to restart the kernel driver:
>>
>> /etc/init.d/openibd force-restart
>>
>> Kindest regards,
>> Raslan Darawsheh
>>
>> > -----Original Message-----
>> > From: users <users-bounces@dpdk.org> On Behalf Of Pravein GK
>> > Sent: Thursday, January 28, 2021 7:49 AM
>> > To: users@dpdk.org
>> > Subject: [dpdk-users] common_mlx5: Failed to load driver = net_mlx5
>> Error
>> >
>> > Hello All,
>> >
>> > I am using DPDK 20.08 with Mellanox Connect X 5 NICs.
>> > I have installed the latest OFED drivers with "--dpdk --upstream-libs".
>> > However, while launching a dpdk application, I get the below error :
>> >
>> > EAL: Detected 24 lcore(s)
>> > > EAL: Detected 2 NUMA nodes
>> > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
>> > > EAL: Selected IOVA mode 'PA'
>> > > EAL: No available hugepages reported in hugepages-1048576kB
>> > > EAL: Probing VFIO support...
>> > > EAL:   Invalid NUMA socket, default to 0
>> > >
>> > >
>> > > *EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:1f:00.0
>> (socket
>> > > 0)net_mlx5: no Verbs device matches PCI device 0000:1f:00.0, are
>> kernel
>> > > drivers loaded?common_mlx5: Failed to load driver = net_mlx5.*
>> > > EAL: Requested device 0000:1f:00.0 cannot be used
>> > > EAL:   Invalid NUMA socket, default to 0
>> > >
>> > >
>> > > *EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:1f:00.1
>> (socket
>> > > 0)net_mlx5: no Verbs device matches PCI device 0000:1f:00.1, are
>> kernel
>> > > drivers loaded?common_mlx5: Failed to load driver = net_mlx5.*
>> > > EAL: Requested device 0000:1f:00.1 cannot be used
>> > > EAL: No legacy callbacks, legacy socket not created
>> > > EAL: Error - exiting with code: 1
>> > >   Cause: Cannot create mbuf pool , error=Invalid argument
>> >
>> >
>> > I am stuck with this error, and unable to proceed for a long time
>> despite
>> > trying most of the things suggested in forums. Please help.
>> >
>> > Thanks,
>> > Pravein
>>
>>

  reply	other threads:[~2021-02-02  7:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-28  5:49 Pravein GK
2021-01-28  8:22 ` Raslan Darawsheh
2021-01-28  8:36   ` Pravein GK
2021-01-28  8:39     ` Raslan Darawsheh
2021-01-28  9:02       ` Pravein GK
2021-02-02  7:50         ` Pravein GK [this message]
2021-02-02  8:29           ` Raslan Darawsheh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAE4=sSdsN7_CFMOS5ZF-3fEBLhN2af8+twJcO2t4xadNwTV68w@mail.gmail.com' \
    --to=praveingk@gmail.com \
    --cc=rasland@nvidia.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).