how can let rte_eal_init parse device success?

异客 zhangjungang_1107 at qq.com
Tue Aug 29 11:53:22 CEST 2023


Hi Kozlyuk


Tks for your reply


Related info is :
[root at localhost usertools]# ./dpdk-devbind.py -s


Network devices using DPDK-compatible driver
============================================
0000:01:00.1 'I350 Gigabit Network Connection 1521' drv=igb_uio unused=igb,uio_pci_generic
0000:18:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' drv=uio_pci_generic unused=ixgbe,igb_uio


Network devices using kernel driver
===================================
0000:01:00.0 'I350 Gigabit Network Connection 1521' if=em3 drv=igb unused=igb_uio,uio_pci_generic *Active*
0000:18:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' if=em2 drv=ixgbe unused=igb_uio,uio_pci_generic


No 'Baseband' devices detected
==============================


No 'Crypto' devices detected
============================


No 'Eventdev' devices detected
==============================


No 'Mempool' devices detected
=============================


No 'Compress' devices detected
==============================


No 'Misc (rawdev)' devices detected
===================================


No 'Regex' devices detected
===========================





then try run dpdk test, it's OK












then run the example:





I think the configuration is ok,   it is "dpdk-helloworld" binary.









Regards!




------------------ Original ------------------
From:                                                                                                                        "Dmitry Kozlyuk"                                                                                    <dmitry.kozliuk at gmail.com>;
Date: Tue, Aug 29, 2023 05:18 PM
To: "异客"<zhangjungang_1107 at qq.com>;
Cc: "users"<users at dpdk.org>;
Subject: Re: how can let rte_eal_init parse device success?



Hi,

Most likely PCI bus driver (a DPDK library) is missing.
Either it is not linked into "helloworld" if it is your own app;
or the path to DPDK libraries (*.so) is not in LD_LIBARY_PATH
if it is "dpdk-helloworld" binary.

If this doesn't help, please post exact commands and their full output (log),
not just "success" or "is right".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20230829/9dacfedf/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FC98692E at D6A86805.12C0ED64.png.jpg
Type: image/jpeg
Size: 22699 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/users/attachments/20230829/9dacfedf/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 62663864 at 6408C97F.12C0ED64.png.jpg
Type: image/jpeg
Size: 14199 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/users/attachments/20230829/9dacfedf/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: C3642E61 at 5BDE0A43.12C0ED64.png.jpg
Type: image/jpeg
Size: 19003 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/users/attachments/20230829/9dacfedf/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2924DE5A at EFB6691F.12C0ED64.png.jpg
Type: image/jpeg
Size: 3234 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/users/attachments/20230829/9dacfedf/attachment-0007.jpg>


More information about the users mailing list