From: David Christensen <drc@linux.vnet.ibm.com>
To: users@dpdk.org
Subject: Re: [dpdk-users] DPDK 20.05 MLX5 'no Verbs device matches PCI device , are kernel drivers loaded'
Date: Mon, 26 Oct 2020 09:44:50 -0700 [thread overview]
Message-ID: <27caa847-12aa-cdca-6922-9cfc8707a969@linux.vnet.ibm.com> (raw)
In-Reply-To: <4fe60c74.2465.1752a775ced.Coremail.iamwangmali@163.com>
> I am trying to test the mlx5 performance on ubuntu 16.04, and when I run the testpmd with mlx nic,
>
> Some error happened.
>
>
>
>
> EAL: Probe PCI driver: net_mlx5 (15b3:1018) device: 0000:af:02.3 (socket 1)
This PCI device ID, 15b3:1018, represents a virtual function (VF)
according to https://pci-ids.ucw.cz/read/PC/15b3/1018. Why are you
using a VF in this situation? Are you running inside a VM or on a bare
metal host?
>
> net_mlx5: mlx5.c:3322: mlx5_pci_probe(): no Verbs device matches PCI device 0000:af:02.3, are kernel drivers loaded?
>
> EAL: Requested device 0000:af:02.3 cannot be used
>
> EAL: Probe PCI driver: net_mlx5 (15b3:1018) device: 0000:af:02.4 (socket 1)
>
> net_mlx5: mlx5.c:3322: mlx5_pci_probe(): no Verbs device matches PCI device 0000:af:02.4, are kernel drivers loaded?
>
> EAL: Requested device 0000:af:02.4 cannot be used
>
> EAL: Bus (pci) probe failed.
The code in mlx5_os_pci_probe() suggests that the DPDK mlx5 driver
didn't find any Infiniband devices on your system. Is your adapter
enabled for Infiniband on the host system? What does "lspci | grep
Mellanox" return? What about "ibv_devinfo"?
Dave
prev parent reply other threads:[~2020-10-26 16:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-15 4:14 baoli.wnag
2020-10-26 16:44 ` David Christensen [this message]
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=27caa847-12aa-cdca-6922-9cfc8707a969@linux.vnet.ibm.com \
--to=drc@linux.vnet.ibm.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).