[dpdk-users] DPDK l3fwd problem , Cause: Cannot configure device: err=-22, port=1. how to solve this problem?

hx w wang010366 at outlook.com
Fri Oct 27 08:59:01 CEST 2017


DPDK l3fwd problem , Cause: Cannot configure device: err=-22, port=1. how to solve this problem?

This is Phenomenon below:

root at 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  (how to solve this problem???)
root at ubuntu:l3fwd# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
root at 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 at ubuntu:l3fwd#



how to solve this problem?


Can you help me?






More information about the users mailing list