欢迎来到 DPDK交流社区 ,有什么问题可以尽管在这里提问,您将会收到社区其他成员的回答;也可以将您的总结写在这里,为社区其他成员提供帮助。 QQ交流2群:635461501

L3fwd运行报错port 0 is not present on the board [已关闭]

0 投票

运行使用的命令是官方文档上给的:

./build/l3fwd -l 1,2 -n 4  -- -p 0x3 --config="(0,0,1),(1,0,2)"

结果如下:

EAL: Detected 12 lcore(s)

EAL: Detected 2 NUMA nodes

EAL: Multi-process socket /var/run/dpdk/rte/mp_socket

EAL: No free hugepages reported in hugepages-1048576kB

EAL: No free hugepages reported in hugepages-1048576kB

EAL: No free hugepages reported in hugepages-1048576kB

EAL: Probing VFIO support...

EAL: VFIO support initialized

LPM or EM none selected, default LPM on

port 0 is not present on the board

EAL: Error - exiting with code: 1

  Cause: check_port_config failed

网卡的配置如下:

Network devices using DPDK-compatible driver

============================================

0000:02:00.1 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' drv=igb_uio unused=tg3,vfio-pci

0000:02:00.2 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' drv=igb_uio unused=tg3,vfio-pci

Network devices using kernel driver

===================================

0000:02:00.0 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=eth0 drv=tg3 unused=igb_uio,vfio-pci *Active*

0000:02:00.3 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=eth3 drv=tg3 unused=igb_uio,vfio-pci

Other Network devices

=====================

<none>

Crypto devices using DPDK-compatible driver

===========================================

<none>

Crypto devices using kernel driver

==================================

<none>

Other Crypto devices

====================

<none>

还请大神们帮忙看一下是什么问题,不知道是不是网卡不支持

问题关闭原因: 问题已解决
最新提问 2月 8 分类:DPDK sample解惑 | 用户: Whiteologist (140 分)
已关闭 2月 15 用户:Whiteologist
...