DPDK usage discussions
 help / color / mirror / Atom feed
From: Antonio Di Bacco <a.dibacco.ks@gmail.com>
To: users@dpdk.org
Subject: DPDK:mlx5_common: No Verbs device matches PCI device
Date: Fri, 20 May 2022 14:36:47 +0200	[thread overview]
Message-ID: <CAO8pfFk5nsdwbdLn4JsYDMEf3-hxssO9N2K638huQV7SX198dw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2551 bytes --]

Installed  Mellanox ConnectX5  as below, created two VFs but when starting
DPDK I see this error:

DPDK:EAL: Probe PCI driver: mlx5_pci (15b3:1018) device: 0000:3b:00.3
(socket 0)
DPDK:mlx5_common: No Verbs device matches PCI device 0000:3b:00.3, are
kernel drivers loaded?
DPDK:mlx5_common: Verbs device not found: 0000:3b:00.3
DPDK:mlx5_common: Failed to initialize device context.

Drivers are loaded:

user@metis:~$ lsmod | grep ml
mlx5_ib               348160  0
ib_uverbs             155648  2 irdma,mlx5_ib
ib_core               368640  3 irdma,ib_uverbs,mlx5_ib
mlx5_core            1400832  1 mlx5_ib
mlxfw                  32768  1 mlx5_core
psample                20480  1 mlx5_core
tls                   102400  1 mlx5_core
pci_hyperv_intf        16384  1 mlx5_core

and this is installation procedure.

sudo  ./MLNX_OFED_LINUX-5.6-1.0.3.3-ubuntu22.04-x86_64/mlnxofedinstall
--dpdk --upstream-libs
------------------------------------
Installing ofed-scripts-5.6...
Installing mstflint-4.16.1...
Installing mlnx-tools-5.2.0...
Installing mlnx-ofed-kernel-utils-5.6...
Installing mlnx-ofed-kernel-dkms-5.6...

Installing rdma-core-56mlnx40...
Installing libibverbs1-56mlnx40...
Installing ibverbs-utils-56mlnx40...
Installing ibverbs-providers-56mlnx40...
Installing libibverbs-dev-56mlnx40...
Installing librdmacm1-56mlnx40...
Installing rdmacm-utils-56mlnx40...
Installing librdmacm-dev-56mlnx40...
Installing libibumad3-56mlnx40...
Installing ibacm-56mlnx40...
Installing python3-pyverbs-56mlnx40...
Selecting previously unselected package mlnx-fw-updater.
(Reading database ... 208346 files and directories currently installed.)
Preparing to unpack .../mlnx-fw-updater_5.6-1.0.3.3_amd64.deb ...
Unpacking mlnx-fw-updater (5.6-1.0.3.3) ...
Setting up mlnx-fw-updater (5.6-1.0.3.3) ...

Added 'RUN_FW_UPDATER_ONBOOT=no to /etc/infiniband/openib.conf

Initializing...
Attempting to perform Firmware update...
Querying Mellanox devices firmware ...
Querying Mellanox devices firmware ...

Device #1:
----------

  Device Type:      ConnectX5
  Part Number:      MCX516A-CCA_Ax
  Description:      ConnectX-5 EN network interface card; 100GbE dual-port
QSFP28; PCIe3.0 x16; tall bracket; ROHS R6
  PSID:             MT_0000000012
  PCI Device Name:  3b:00.0
  Base GUID:        b8599f0300b7cebe
  Base MAC:         b8599fb7cebe
  Versions:         Current        Available
     FW             16.33.1048     16.33.1048
     PXE            3.6.0502       3.6.0502
     UEFI           14.26.0017     14.26.0017

  Status:           Up to date

[-- Attachment #2: Type: text/html, Size: 3051 bytes --]

                 reply	other threads:[~2022-05-20 12:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAO8pfFk5nsdwbdLn4JsYDMEf3-hxssO9N2K638huQV7SX198dw@mail.gmail.com \
    --to=a.dibacco.ks@gmail.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).