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

请教关于mtcp 启动epoll试例的错误

0 投票
---------------------------------------------------------------------------------
Loading mtcp configuration from : epserver-master.conf
Loading multi-process configuration
Loading interface setting
EAL: Detected 6 lcore(s)
EAL: Auto-detected process type: PRIMARY
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:08.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:100f net_e1000_em
Total number of attached devices: 1
Interface name: ens33
Configurations:
Number of CPU cores available: 6
Number of CPU cores to use: 6
Maximum number of concurrency per core: 10000
Multi-process support is enabled and current core is: 0
Current core is master (for multi-process)
Maximum number of preallocated buffers per core: 10000
Receive buffer size: 8192
Send buffer size: 8192
TCP timeout seconds: 30
TCP timewait seconds: 0
NICs to print statistics:
---------------------------------------------------------------------------------
Interfaces:
name: ens33, ifindex: 0, hwaddr: 00:0C:29:3C:93:A0, ipaddr: 192.168.161.103, netmask: 255.255.255.0
Number of NIC queues: 6
---------------------------------------------------------------------------------
Loading routing configurations from : config/route.conf
Routes:
Destination: 192.168.161.0/24, Mask: 255.255.255.0, Masked: 192.168.161.0, Route: ifdx-0
---------------------------------------------------------------------------------
Loading ARP table from : config/arp.conf
ARP Table:
(blank)
---------------------------------------------------------------------------------
Initializing port 0... EAL: Error - exiting with code: 1
  Cause: Cannot configure device: err=-22, port=0

启动试例采用 启用默认所有核心 结果初始化时报错 mtcp没开源吧  追不到他的源码 只要核心数大于1 就会报这个错 有大神遇到吗
最新提问 11月 8, 2017 分类:DPDK初学入门 | 用户: luobo101 (300 分)

1个回答

0 投票
根据它这个错误提示,无法配置设备,返回-22,可以跟进去看一下,有可能是conf中的某个配置的问题。
最新回答 11月 14, 2017 用户: sysight (12,100 分)
...