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

使用dpdk-pdump抓包出错,Unable to find a bus for the device 'net_pcap_rx_0'

0 投票

root@ubuntu:pdump# ./build/app/dpdk-pdump -- --pdump 'port=1,queue=*,rx-dev=/tmp/rx.pcap'
EAL: Detected 8 lcore(s)
EAL: Probing VFIO support...
EAL: WARNING: Address Space Layout Randomization (ASLR) is enabled in the kernel.
EAL:    This may cause issues with mapping memory into secondary processes
EAL: PCI device 0000:02:01.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:100f net_e1000_em
EAL: PCI device 0000:02:06.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:100f net_e1000_em
EAL: PCI device 0000:02:07.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:100f net_e1000_em
EAL: PCI device 0000:02:08.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:100f net_e1000_em
EAL: PCI device 0000:02:09.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:100f net_e1000_em
EAL: Unable to find a bus for the device 'net_pcap_rx_0'
EAL: Error - exiting with code: 1
  Cause: vdev creation failed:create_mp_ring_vdev:735
root@ubuntu:pdump# ./build/app/dpdk-pdump -- --pdump 'port=1,queue=*,rx-dev=/tmp/rx.pcap'

最新提问 11月 25, 2019 分类:DPDK初学入门 | 用户: chh123 (160 分)

1个回答

0 投票

我记得dpdk自带的pcap不支持虚拟设备抓包的,目前提示错误Cause: vdev creation failed:create_mp_ring_vdev,是该设备的ring创建失败!

这是定位出来的错误,你再看看。。。

最新回答 12月 1, 2019 用户: dpdk_lover (2,860 分)
修改于 12月 1, 2019 用户:dpdk_lover
冀ICP备15005332号
...