Hi, I also have the same question in l3fwd example. I guess may DPDK don't support the chip-set so that we got this error msg.
In my system, I have 2 kinds of chip-set, 82580 & 82574L. If I use l3fwd -c 3 -n 1 -- -p 3 --config '(0,0,0),(1,0,1)' in 82574L, it will get the error msg. But when I change my card with 82580 and use the same command to execute DPDK l3fwd. It's working. So, maybe the root cause is the DPDK does not support your chip-set and send out this error msg. On 11/14/2013 04:31 PM, Jose Gavine Cueto wrote: > Hi, > > Your nic (port 0) is capable of 1 txq only see error: > > " port_id=0 nb_tx_queues=2 > 1" > > I think that caused the error. > > Cheers, > Pepe > > > On Thu, Nov 14, 2013 at 1:21 PM, yuxuan zhang <zhangyuxuanxd at > gmail.com>wrote: > >> Hi Everyone: >> >> I meet a problem with running the DPDK1.3 example l3fwd in the VMware. I >> have two 82545EM NIC to run the l3fwd and the OS is Cent6.4. But l3fwd >> cannot be configured port correctly .I start the l3fwd with following >> command: >> >> ./build/l3fwd -c 0x3 -n 2 -- -p 0x3 --config="(0,0,0),(1,0,1)" >> >> However, I get following errors with debug info: >> >> Initializing port 0 ... Creating queues: nb_rxq=1 nb_txq=2... PMD: >> rte_eth_dev_configure: ethdev port_id=0 nb_tx_queues=2 > 1 >> EAL: Error - exiting with code: 1 >> Cause: Cannot configure device: err=-22, port=0 >> >> And I have known that the reason for this problem produced in the >> **rte_eth_dev_configure function**. However, I do not kown how to fix it. >> >> I would really appreciate If someone could provide some help to solve this >> issue. >> > > -- Best Regards, Zachary ????????????????????????????????????????????? This email may contain confidential information. Please do not use or disclose it in any way and delete it if you are not the intended recipient.