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

l3fwd Cause: Cannot configure device: err=-22, port=1

0 投票

root@ubuntu:l3fwd# ./build/l3fwd -c 0x03 -- -p 0x6 --config="(2,0,0),(1,0,1)"
EAL: Detected 8 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
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
L3FWD: LPM or EM none selected, default LPM on

Skipping disabled port 0
Initializing port 1 ... Creating queues: nb_rxq=1 nb_txq=2... EAL: Error - exiting with code: 1
  Cause: Cannot configure device: err=-22, port=1
root@ubuntu:l3fwd# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
root@ubuntu:l3fwd# uname -a
Linux ubuntu 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu:l3fwd# 

最新提问 10月 27, 2017 分类:DPDK sample解惑 | 用户: 往事也加 (180 分)

3 个回答

0 投票
请问有找到问题原因么?我这边也遇到类似问题
最新回答 10月 31, 2017 用户: star (180 分)
0 投票

nb_txq改为1试试

最新回答 1月 10 用户: liuzhaoce (240 分)
0 投票
尽量别用e1000用virtio网卡
最新回答 4月 18 用户: tempdban (660 分)
...