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

testpmd报错:SIOCETHTOOL(ETHTOOL_GET_TS_INFO) ioctl failed: No such device

0 投票

root@raymax001:/stdio/dpdk-stable-18.02.1# ./build/app/testpmd -c7 -n3 --vdev=net_pcap0,iface=0000:82:00.0 --vdev=net_pcap1,iface=0000:82:00.1 -- -i --nb-cores=2 --nb-ports=2 --total-num-mbufs=2048
EAL: Detected 48 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Multi-process socket /var/run/.rte_unix
EAL: Probing VFIO support...
EAL: PCI device 0000:01:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1521 net_e1000_igb
EAL: PCI device 0000:01:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1521 net_e1000_igb
PMD: Initializing pmd_pcap for net_pcap0
PMD: Couldn't open 0000:82:00.0: 0000:82:00.0: SIOCETHTOOL(ETHTOOL_GET_TS_INFO) ioctl failed: No such device
PMD: Couldn't open interface 0000:82:00.0
vdev_probe(): failed to initialize net_pcap0 device

PMD: Initializing pmd_pcap for net_pcap1
PMD: Couldn't open 0000:82:00.1: 0000:82:00.1: SIOCETHTOOL(ETHTOOL_GET_TS_INFO) ioctl failed: No such device
PMD: Couldn't open interface 0000:82:00.1
vdev_probe(): failed to initialize net_pcap1 device

EAL: Bus (vdev) probe failed.
testpmd: No probed ethernet devices
Interactive-mode selected
EAL: Error - exiting with code: 1
  Cause: Invalid port 2

 

root@raymax001:/stdio/dpdk-stable-18.02.1# ./usertools/dpdk-devbind.py -s

Network devices using DPDK-compatible driver
============================================
0000:82:00.0 'MT27710 Family [ConnectX-4 Lx] 1015' drv=igb_uio unused=mlx5_core,uio_pci_generic
0000:82:00.1 'MT27710 Family [ConnectX-4 Lx] 1015' drv=igb_uio unused=mlx5_core,uio_pci_generic

Network devices using kernel driver
===================================
0000:01:00.0 'I350 Gigabit Network Connection 1521' if=eno1 drv=igb unused=igb_uio,uio_pci_generic *Active*
0000:01:00.1 'I350 Gigabit Network Connection 1521' if=eno2 drv=igb unused=igb_uio,uio_pci_generic
0000:83:00.0 'MT28800 Family [ConnectX-5] 1017' if=enp131s0 drv=mlx5_core unused=igb_uio,uio_pci_generic

Other Network devices
=====================
<none>

Crypto devices using DPDK-compatible driver
===========================================
<none>

Crypto devices using kernel driver
==================================
<none>

Other Crypto devices
====================
<none>

Eventdev devices using DPDK-compatible driver
=============================================
<none>

Eventdev devices using kernel driver
====================================
<none>

Other Eventdev devices
======================
<none>

Mempool devices using DPDK-compatible driver
============================================
<none>

Mempool devices using kernel driver
===================================
<none>

Other Mempool devices
=====================
<none>

最新提问 6月 1 分类:DPDK sample解惑 | 用户: dztqs (120 分)

1个回答

0 投票

mellanox系列网卡不能用igb_uio ,要用他自己的mlx5_core,mlx5_en,mlx5_ib

最新回答 7月 17 用户: tempdban (660 分)
...