While using DPDK application, rte_eth_dev_count is returning 0 always

主宰稳场 提交于 2019-12-06 11:25:26

The above error was coming because the below driver are not supported:- 0000:81:00.0 'NetXtreme BCM5722 Gigabit Ethernet PCI Express' drv=igb_uio unused=tg3

So Binding DPDK with supported driver solved the problem.

The dpdk-devbind.py tool might be a bit misleading here. Not all of the devices using DPDK-compatible driver is in fact supported by DPDK.

Here is the list of supported Broadcom NICs in DPDK:

http://dpdk.org/doc/guides/nics/bnxt.html

Looks like the BCM5722 is not there.

On the other hand, it looks like you have four other NICs, which are supported by the DPDK:

EAL: PCI device 0000:02:00.0 on NUMA socket 0
EAL:   probe driver: 8086:10fb net_ixgbe
EAL: PCI device 0000:02:00.1 on NUMA socket 0
EAL:   probe driver: 8086:10fb net_ixgbe
EAL: PCI device 0000:04:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1521 net_e1000_igb
EAL: PCI device 0000:04:00.3 on NUMA socket 0
EAL:   probe driver: 8086:1521 net_e1000_igb

So you need to bind one of those to igb_uio and try to run the example again.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!