DPDK usage discussions
 help / color / mirror / Atom feed
* dpdk21.11 error: No probed ethernet devices OR Unable to parse device '0000:0b:00.0'
@ 2022-04-15  9:17 钱新宇
  2022-04-26  8:31 ` Asaf Penso
  0 siblings, 1 reply; 2+ messages in thread
From: 钱新宇 @ 2022-04-15  9:17 UTC (permalink / raw)
  To: users

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

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-1.0.3.2-rhel7.7-x86_64
     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: 11148 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: dpdk21.11 error: No probed ethernet devices OR Unable to parse device '0000:0b:00.0'
  2022-04-15  9:17 dpdk21.11 error: No probed ethernet devices OR Unable to parse device '0000:0b:00.0' 钱新宇
@ 2022-04-26  8:31 ` Asaf Penso
  0 siblings, 0 replies; 2+ messages in thread
From: Asaf Penso @ 2022-04-26  8:31 UTC (permalink / raw)
  To: 钱新宇, users

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

Hello,

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?

Regards,
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-1.0.3.2-rhel7.7-x86_64
     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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-26  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-15  9:17 dpdk21.11 error: No probed ethernet devices OR Unable to parse device '0000:0b:00.0' 钱新宇
2022-04-26  8:31 ` Asaf Penso

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 \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


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