DPDK usage discussions
 help / color / mirror / Atom feed
From: Asaf Penso <asafp@nvidia.com>
To: 钱新宇 <qianxinyu1221@163.com>, "users@dpdk.org" <users@dpdk.org>
Subject: RE: dpdk21.11 error: No probed ethernet devices OR Unable to parse device '0000:0b:00.0'
Date: Tue, 26 Apr 2022 08:31:28 +0000
Message-ID: <DM5PR1201MB2555A5B1F74A4335FFF9D5E6CDFB9@DM5PR1201MB2555.namprd12.prod.outlook.com> (raw)
In-Reply-To: <1aa20c8.613f.1802c8326cf.Coremail.qianxinyu1221@163.com>

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


In 21.11, we work with meson/ninja for compilation/linkage.
Do you use it when you compile testpmd?
Have you tried using it with your application?

Asaf Penso

From: 钱新宇 <qianxinyu1221@163.com>
Sent: Friday, April 15, 2022 12:17 PM
To: users@dpdk.org
Subject: dpdk21.11 error: No probed ethernet devices OR Unable to parse device '0000:0b:00.0'

Dear Madam/Sir:
     I am new to DPDK and have some  problems with 'No probed ethernet devices' and 'Unable to parse device '0000:0b:00.0''
     The environment is :
     cpu:                     Intel(R) Xeon(R) Gold 6254 CPU @ 3.10GHz
     system:               VM EXSI7.02u + centos7.7
     linux kernel:      4.19.237
     DPDK version:    dpdk-21.11
     network card:   mellanox connextX-5 MCX512A
     drive:   MLNX_OFED_LINUX-5.5-
     network config:both The pass-through and SR_IOV

          When I run my own DPDK program which was upgraded from DPDK version 19.08 to 21.11,eal init reported error :'No probed ethernet devices’ ,or  'Unable to parse device '0000:0b:00.0'' When I set up ‘-a  0000:0b:00.0’
          But when I run app/dpdk-testpmd, there is no problem whether I set '-a 0b:00.0' or not。
           I compared the two programs,There is no difference before rte_eal_init() in main(). The parameters passed to DPDK are also consistent.
           I query to that driver is mlx5_core.
           My user program uses Makefile with:
                                                  PKGCONF = pkg-config
                                                  CFLAGS += -O2 $(shell $(PKGCONF) --cflags --static libdpdk)
                                                  LDFLAGS += $(shell $(PKGCONF) --libs --static  libdpdk)
          How should this problem be solved?
         Is there any additional configuration for the DPDK user program before running the main() function? Or maybe my compilation method doesn't meet the requirements for the MLX5 driver?

More info:
./dpdk-devbind.py -s
Network devices using kernel driver
0000:04:00.0 '82574L Gigabit Network Connection 10d3' if=ens161 drv=e1000e unused= *Active*
0000:0b:00.0 'MT27800 Family [ConnectX-5] 1017' if=ens192 drv=mlx5_core unused= *Active*
0000:0c:00.0 'MT27800 Family [ConnectX-5 Virtual Function] 1018' if=ens193 drv=mlx5_core unused=
0000:13:00.0 'MT27800 Family [ConnectX-5 Virtual Function] 1018' if=ens224 drv=mlx5_core unused= *Active*
0000:1b:00.0 'MT27800 Family [ConnectX-5 Virtual Function] 1018' if=ens256 drv=mlx5_core unused= *Active*
No 'Baseband' devices detected
No 'Crypto' devices detected
No 'DMA' devices detected
No 'Eventdev' devices detected
No 'Mempool' devices detected
No 'Compress' devices detected
No 'Misc (rawdev)' devices detected
No 'Regex' devices detected

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

      reply	other threads:[~2022-04-26  8:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-15  9:17 钱新宇
2022-04-26  8:31 ` Asaf Penso [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:

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

  git send-email \
    --in-reply-to=DM5PR1201MB2555A5B1F74A4335FFF9D5E6CDFB9@DM5PR1201MB2555.namprd12.prod.outlook.com \
    --to=asafp@nvidia.com \
    --cc=qianxinyu1221@163.com \
    --cc=users@dpdk.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git